Makefile: use NAME variable, suggested by Quentin - stagit-gopher - A git gopher frontend. (mirror) HTML git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 0328079589e5a92eac94b594aa6361d38e7fbc76 DIR parent cd6a519813d97f6c28ad80d6bc08ad58e14ee401 HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 20 Mar 2016 17:29:31 +0100 Makefile: use NAME variable, suggested by Quentin Diffstat: M Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) --- DIR diff --git a/Makefile b/Makefile @@ -37,17 +37,17 @@ all: $(BIN) ${CC} -c ${CFLAGS} ${CPPFLAGS} -o $@ -c $< dist: - rm -rf stagit-${VERSION} - mkdir -p stagit-${VERSION} + rm -rf ${NAME}-${VERSION} + mkdir -p ${NAME}-${VERSION} cp -f ${MAN1} ${HDR} ${SCRIPTS} ${SRC} ${COMPATSRC} ${DOC} \ Makefile config.def.h config.mk \ favicon.png logo.png style.css \ example.sh \ - stagit-${VERSION} + ${NAME}-${VERSION} # make tarball - tar -cf - stagit-${VERSION} | \ - gzip -c > stagit-${VERSION}.tar.gz - rm -rf stagit-${VERSION} + tar -cf - ${NAME}-${VERSION} | \ + gzip -c > ${NAME}-${VERSION}.tar.gz + rm -rf ${NAME}-${VERSION} ${OBJ}: config.h config.mk ${HDR}