why releases for such a small project? useless and overhead!
Aaron Marcher info@nulltime.net
Thu, 29 Dec 2016 23:36:05 +0100
4 files changed,
9 insertions(+),
11 deletions(-)
M
Makefile
→
Makefile
@@ -31,16 +31,16 @@ @${CC} -o $@ ${OBJ} ${LDFLAGS}
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 @@ @cp -f ${NAME} ${DESTDIR}${PREFIX}/bin
@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:
M
slstatus.1
→
slstatus.1
@@ -1,4 +1,4 @@
-.TH SLSTATUS 1 slstatus\-VERSION +.TH SLSTATUS 1 slstatus .SH NAME slstatus \- suckless status .SH SYNOPSIS
M
slstatus.c
→
slstatus.c
@@ -780,7 +780,7 @@ case 'o':
oflag = 1; break; case 'v': - printf("slstatus %s (C) 2016 slstatus engineers\n", VERSION); + printf("slstatus (C) 2016 slstatus engineers\n"); return 0; case 'h': usage(0);