diff options
author | Anselm R Garbe <anselm@garbe.us> | 2013-08-13 19:11:07 +0200 |
---|---|---|
committer | Anselm R Garbe <anselm@garbe.us> | 2013-08-13 19:11:07 +0200 |
commit | 1114a8345a83b776d12e7721af45342b7f2f5174 (patch) | |
tree | e953c61035b10e109974960856165467ea723414 /Makefile | |
parent | 60de8fe08b6f7f589e40a457526572c7b8d81f06 (diff) | |
download | wmname-master.tar.gz wmname-master.zip |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -32,7 +32,7 @@ clean: dist: clean @echo creating dist tarball @mkdir -p wmname-${VERSION} - @cp -R LICENSE Makefile README config.mk ${SRC} wmname-${VERSION} + @cp -R LICENSE Makefile README config.mk wmname.1 ${SRC} wmname-${VERSION} @tar -cf wmname-${VERSION}.tar wmname-${VERSION} @gzip wmname-${VERSION}.tar @rm -rf wmname-${VERSION} @@ -42,6 +42,10 @@ install: all @mkdir -p ${DESTDIR}${PREFIX}/bin @cp -f wmname ${DESTDIR}${PREFIX}/bin @chmod 755 ${DESTDIR}${PREFIX}/bin/wmname + @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1 + @mkdir -p ${DESTDIR}${MANPREFIX}/man1 + @sed "s/VERSION/${VERSION}/g" < wmname.1 > ${DESTDIR}${MANPREFIX}/man1/wmname.1 + @chmod 644 ${DESTDIR}${MANPREFIX}/man1/wmname.1 uninstall: @echo removing executable file from ${DESTDIR}${PREFIX}/bin |