diff options
author | parazyd <parazyd@users.noreply.github.com> | 2016-12-30 14:21:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-30 14:21:19 +0100 |
commit | 13604963bc589ab9281da03b1f76b8db7e21daa7 (patch) | |
tree | 65af78cfd9a0fe2d794e837222d2b2cc761338aa /Makefile | |
parent | 62f40164309cd6f22be9fae89c071221944618e4 (diff) | |
parent | 8fa622975991d1fb539ffab50c98f0d2d7d6da1c (diff) |
Merge branch 'master' into master
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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: |