aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2013-11-03 20:03:38 -0500
committerCalvin Morrison <mutantturkey@gmail.com>2013-11-03 20:03:38 -0500
commitfc19d0675581c838a48ff9814e9480e6a5c6cc1a (patch)
tree63220b4a49e891237bf93359ad6f189e0354b028 /Makefile
parenta1b95e3b22020aea94f10328767f0aa73cc198be (diff)
parent3377c7b1e766afb54949c0b2b758888e3de6ff86 (diff)
Merge branch 'master' of https://github.com/mutantturkey/svte
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 641e0b0..0c49d72 100644
--- a/Makefile
+++ b/Makefile
@@ -43,17 +43,20 @@ svte: ${OBJ}
clean:
@echo cleaning
- @rm -f svte ${OBJ} mt-${VERSION}.tar.gz
+ @rm -f svte ${OBJ} svte-${VERSION}.tar.gz
dist: clean
@echo creating dist tarball
@mkdir -p svte-${VERSION}
@cp -R Makefile config.mk ${SRC} svte-${VERSION}
- @tar -cf svte-${VERSION}.tar mt-${VERSION}
+ @tar -cf svte-${VERSION}.tar svte-${VERSION}
@gzip svte-${VERSION}.tar
@rm -rf svte-${VERSION}
install: all
+ @echo installing manpage to ${DESTDIR}${MANPREFIX}/man1
+ @mkdir -p ${DESTDIR}${MANPREFIX}/man1
+ @cp -f svte.1 ${DESTDIR}${MANPREFIX}/man1/svte.1
@echo installing executable file to ${DESTDIR}${PREFIX}/bin
@mkdir -p ${DESTDIR}${PREFIX}/bin
@cp -f svte ${DESTDIR}${PREFIX}/bin
@@ -62,6 +65,8 @@ install: all
uninstall:
@echo removing executable file from ${DESTDIR}${PREFIX}/bin
@rm -f ${DESTDIR}${PREFIX}/bin/svte
+ @echo removing manpage from ${DESTDIR}${MANPREFIX}/man1/
+ @rm -f ${DESTDIR}${MANPREFIX}/man1/svte.1
.PHONY: all options clean dist install uninstall