X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/99b126d0afe461960d001385c9ee13295c8ed543..66e16c92d315d11edadb9bafbf74926ae2c30fe3:/Makefile diff --git a/Makefile b/Makefile index 342a9c2..aebd21b 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,7 @@ config.h: dwm: ${OBJ} @echo LD $@ @${CC} -o $@ ${OBJ} ${LDFLAGS} + @strip $@ clean: @echo cleaning @@ -49,7 +50,7 @@ install: all @chmod 755 ${DESTDIR}${PREFIX}/bin/dwm @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1 @mkdir -p ${DESTDIR}${MANPREFIX}/man1 - @cp -f dwm.1 ${DESTDIR}${MANPREFIX}/man1 + @sed 's/VERSION/${VERSION}/g' < dwm.1 ${DESTDIR}${MANPREFIX}/man1/dwm.1 @chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1 uninstall: