Fix (un)installation of man pages

This commit is contained in:
Jordy Dickinson 2018-04-02 20:35:23 -04:00
parent 4409a3a069
commit ff1b6c376f
No known key found for this signature in database
GPG Key ID: C809BAD019EEB620
2 changed files with 5 additions and 25 deletions

View File

@ -1,21 +1,7 @@
dist_man8_MANS = man8/pam_panic.8
dist_data_DATA = \
fuckyou_automake_mandir = $(mandir)
nobase_dist_fuckyou_automake_man_DATA = \
de/man8/pam_panic.8 \
es/man8/pam_panic.8 \
fr/man8/pam_panic.8
install-data-local: install-man-de install-man-es install-man-fr
install-man-de: de/man8/pam_panic.8
mkdir -p $(mandir)/de/man8
cp $< $(mandir)/de/man8
install-man-es: es/man8/pam_panic.8
mkdir -p $(mandir)/es/man8
cp $< $(mandir)/es/man8
install-man-fr: fr/man8/pam_panic.8
mkdir -p $(mandir)/fr/man8
cp $< $(mandir)/fr/man8
.PHONY: install-data-local install-man-de install-man-es install-man-fr

View File

@ -1,10 +1,4 @@
dist_man1_MANS = man1/pam_panic_pw.1
dist_data_DATA = man1/pam_panic_pw.1
install-data-local: install-man-de
install-man-de: de/man1/pam_panic_pw.1
mkdir -p $(mandir)/de/man1
cp $< $(mandir)/de/man1
.PHONY: install-data-local install-man-de
fuckyou_automake_mandir = $(mandir)
nobase_dist_fuckyou_automake_man_DATA = de/man1/pam_panic_pw.1