From 4504d10579e3734045eff159599ca4757001b3a9 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sun, 20 Mar 2016 17:49:27 +0100 Subject: Makefile: improve make dist, bump version to 0.9.1 --- Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index dd9446d..9bbd2c0 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ include config.mk NAME = sfeed -VERSION = 0.9 +VERSION = 0.9.1 BIN = \ sfeed\ sfeed_frames\ @@ -68,18 +68,18 @@ ${LIBXML}: ${LIBXMLOBJ} ${AR} rc $@ $? ${RANLIB} $@ -dist: $(BIN) - rm -rf release/${VERSION} - mkdir -p release/${VERSION} +dist: + rm -rf ${NAME}-${VERSION} + mkdir -p ${NAME}-${VERSION} cp -f ${MAN1} ${MAN5} ${DOC} ${HDR} \ ${SRC} ${LIBXMLSRC} ${LIBUTILSRC} ${SCRIPTS} \ Makefile config.mk \ sfeedrc.example style.css \ - release/${VERSION}/ + ${NAME}-${VERSION} # make tarball - rm -f sfeed-${VERSION}.tar.gz - (cd release/${VERSION}; \ - tar -czf ../../sfeed-${VERSION}.tar.gz .) + tar -cf - ${NAME}-${VERSION} | \ + gzip -c > ${NAME}-${VERSION}.tar.gz + rm -rf ${NAME}-${VERSION} clean: rm -f ${BIN} ${OBJ} ${LIB} -- cgit v1.2.3