Bump version to 1 - farbfeld - suckless image format with conversion tools | |
git clone git://git.suckless.org/farbfeld | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit add6f5c09238ff797dede77eea1ce30ec85bdc13 | |
parent 5bc3650669e4c12105b944058b0f9cdeb186e2e5 | |
Author: FRIGN <[email protected]> | |
Date: Wed, 6 Jan 2016 18:36:58 +0100 | |
Bump version to 1 | |
And add a makerule to create a tarball via make dist. | |
Diffstat: | |
M Makefile | 13 ++++++++++++- | |
M config.mk | 3 +++ | |
2 files changed, 15 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
@@ -1,3 +1,4 @@ | |
+# farbfeld - suckless image format with conversion tools | |
# See LICENSE file for copyright and license details | |
include config.mk | |
@@ -13,7 +14,17 @@ all: png2ff ff2png jpg2ff | |
@${CC} -o $@ ${CFLAGS} ${LIBS} ${LDFLAGS} $< | |
clean: | |
- rm -f ${BIN} | |
+ @echo cleaning | |
+ @rm -f ${BIN} | |
+ | |
+dist: clean | |
+ @echo creating dist tarball | |
+ @mkdir -p farbfeld-${VERSION} | |
+ @cp -R FORMAT LICENSE Makefile README TODO config.mk \ | |
+ 2ff ${SRC} ${MAN1} ${MAN5} farbfeld-${VERSION} | |
+ @tar -cf farbfeld-${VERSION}.tar farbfeld-${VERSION} | |
+ @gzip farbfeld-${VERSION}.tar | |
+ @rm -rf farbfeld-${VERSION} | |
install: all | |
@echo installing into ${DESTDIR}${PREFIX}/bin | |
diff --git a/config.mk b/config.mk | |
@@ -1,3 +1,6 @@ | |
+# farbfeld version | |
+VERSION = 1 | |
+ | |
# Customize below to fit your system | |
# paths |