commit add6f5c09238ff797dede77eea1ce30ec85bdc13 Author: FRIGN <d...@frign.de> AuthorDate: Wed Jan 6 18:36:58 2016 +0100 Commit: FRIGN <d...@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 @@ -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 index 1d20034..37ad05f 100644 --- a/config.mk +++ b/config.mk @@ -1,3 +1,6 @@ +# farbfeld version +VERSION = 1 + # Customize below to fit your system # paths