summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAaron Marcher <info@nulltime.net>2016-12-29 23:36:05 +0100
committerAaron Marcher <info@nulltime.net>2016-12-29 23:36:05 +0100
commit8fa622975991d1fb539ffab50c98f0d2d7d6da1c (patch)
treee91af9341f7672f6529aa9cfe9335ee8b4598224 /Makefile
parentb68925dbef2bcac96333e1f7cd3da7d2e4f67591 (diff)
why releases for such a small project? useless and overhead!
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 85c001f..6cba860 100644
--- a/Makefile
+++ b/Makefile
@@ -31,16 +31,16 @@ ${NAME}: ${OBJ}
clean:
@echo cleaning
- @rm -f ${NAME} ${OBJ} ${NAME}-${VERSION}.tar.gz
+ @rm -f ${NAME} ${OBJ} ${NAME}.tar.gz
dist: clean
@echo creating dist tarball
- @mkdir -p ${NAME}-${VERSION}
+ @mkdir -p ${NAME}
@cp -R Makefile config.mk LICENSE \
- ${SRC} ${NAME}-${VERSION}
- @tar -cf ${NAME}-${VERSION}.tar ${NAME}-${VERSION}
- @gzip ${NAME}-${VERSION}.tar
- @rm -rf ${NAME}-${VERSION}
+ ${SRC} ${NAME}
+ @tar -cf ${NAME}.tar ${NAME}
+ @gzip ${NAME}.tar
+ @rm -rf ${NAME}
install: all
@echo installing executable file to ${DESTDIR}${PREFIX}/bin
@@ -49,7 +49,7 @@ install: all
@chmod 755 ${DESTDIR}${PREFIX}/bin/${NAME}
@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
@mkdir -p ${DESTDIR}${MANPREFIX}/man1
- @sed "s/VERSION/${VERSION}/g" < ${NAME}.1 > ${DESTDIR}${MANPREFIX}/man1/${NAME}.1
+ @cp -f ${NAME}.1 ${DESTDIR}${MANPREFIX}/man1
@chmod 644 ${DESTDIR}${MANPREFIX}/man1/${NAME}.1
uninstall: