[hackers] [farbfeld] Bump version to 1 || FRIGN

From: <git_AT_suckless.org>
Date: Wed, 6 Jan 2016 18:37:48 +0100 (CET)

commit add6f5c09238ff797dede77eea1ce30ec85bdc13
Author: FRIGN <dev_AT_frign.de>
AuthorDate: Wed Jan 6 18:36:58 2016 +0100
Commit: FRIGN <dev_AT_frign.de>
CommitDate: Wed Jan 6 18:36:58 2016 +0100

    Bump version to 1
    
    And add a makerule to create a tarball via make dist.

diff --git a/Makefile b/Makefile
index 789f817..5ce4f06 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -1,3 +1,4 @@
+# farbfeld - suckless image format with conversion tools
 # See LICENSE file for copyright and license details
 include config.mk
 
_AT_@ -13,7 +14,17 @@ all: png2ff ff2png jpg2ff
         _AT_${CC} -o $@ ${CFLAGS} ${LIBS} ${LDFLAGS} $<
 
 clean:
- rm -f ${BIN}
+ _AT_echo cleaning
+ _AT_rm -f ${BIN}
+
+dist: clean
+ _AT_echo creating dist tarball
+ _AT_mkdir -p farbfeld-${VERSION}
+ _AT_cp -R FORMAT LICENSE Makefile README TODO config.mk \
+ 2ff ${SRC} ${MAN1} ${MAN5} farbfeld-${VERSION}
+ _AT_tar -cf farbfeld-${VERSION}.tar farbfeld-${VERSION}
+ _AT_gzip farbfeld-${VERSION}.tar
+ _AT_rm -rf farbfeld-${VERSION}
 
 install: all
         _AT_echo installing into ${DESTDIR}${PREFIX}/bin
diff --git a/config.mk b/config.mk
index 1d20034..37ad05f 100644
--- a/config.mk
+++ b/config.mk
_AT_@ -1,3 +1,6 @@
+# farbfeld version
+VERSION = 1
+
 # Customize below to fit your system
 
 # paths
Received on Wed Jan 06 2016 - 18:37:48 CET

This archive was generated by hypermail 2.3.0 : Wed Jan 06 2016 - 18:48:14 CET