From 194a7d6d43a833facb7b1712b48735540c250e4a Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Mon, 11 Jul 2016 22:30:10 +0200 Subject: [PATCH] Makefile installs man pages --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bfd8c61..f72da40 100644 --- 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 -- 2.47.3