diff options
author | Hiltjo Posthuma <[email protected]> | 2016-03-20 17:29:31 +0100 |
---|---|---|
committer | Hiltjo Posthuma <[email protected]> | 2016-03-20 17:29:31 +0100 |
commit | 0328079589e5a92eac94b594aa6361d38e7fbc76 (patch) | |
tree | 2918bd9b93567a9ed70025b6c599ef66e411d48e /Makefile | |
parent | cd6a519813d97f6c28ad80d6bc08ad58e14ee401 (diff) | |
download | stagit-0328079589e5a92eac94b594aa6361d38e7fbc76.tar.gz stagit-0328079589e5a92eac94b594aa6361d38e7fbc76.zip |
Makefile: use NAME variable, suggested by Quentin
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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} |