]> gitweb.hhaalo.de Git - albentohandy.git/commitdiff
Makefile installs man pages
authorBastian Dehn <hhaalo@arcor.de>
Mon, 11 Jul 2016 20:30:10 +0000 (22:30 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 11 Jul 2016 20:30:10 +0000 (22:30 +0200)
Makefile

index bfd8c616046aee6fb72af0dbd9793e0d32078135..f72da40de989d4bae7239ce07ee25e20c5f77f99 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-
+MANPATH=/usr/share/man/de/man1
 BINPATH=/usr/bin
 
 install:
@@ -6,6 +6,15 @@ install:
        chmod 755 $(BINPATH)/albentohandy.sh
        cp flactomp3v2.sh $(BINPATH)/flactomp3v2.sh
        chmod 755 $(BINPATH)/flactomp3v2.sh
+       cp albentohandy.1 $(MANPATH)/albentohandy.1
+       gzip $(MANPATH)/albentohandy.1
+       cp albentohandy.conf.1 $(MANPATH)/albentohandy.conf.1
+       gzip $(MANPATH)/albentohandy.conf.1
+       cp flactomp3v2.conf.1 $(MANPATH)/flactomp3v2.conf.1
+       gzip $(MANPATH)/flactomp3v2.conf.1
 uninstall:
        rm $(BINPATH)/albentohandy.sh
        rm $(BINPATH)/flactomp3v2.sh
+       rm $(MANPATH)/albentohandy.1.gz
+       rm $(MANPATH)/albentohandy.conf.1.gz
+       rm $(MANPATH)/flactomp3v2.conf.1.gz