pam_panic/src/pam_panic_pw/man/Makefile.am

20 lines
622 B
Makefile

cant_believe_its_not_mandir = $(mandir)
nobase_dist_cant_believe_its_not_man_DATA = \
man1/pam_panic_pw.1.gz \
de/man1/pam_panic_pw.1.gz \
fr/man1/pam_panic_pw.1.gz \
ja/man1/pam_panic_pw.1.gz \
es/man1/pam_panic_pw.1.gz \
nl/man1/pam_panic_pw.1.gz \
pl/man1/pam_panic_pw.1.gz
%.gz: %
{ ppf=$$(echo "$(PPASSFILE)" | $(SED) 's/\//\\\//g') ; bdr=$$(echo "$(bindir)" | $(SED) 's/\//\\\//g') ; $(SED) "s/__PPASSFILE__/$$ppf/; s/__PAMPANICPW__/$$bdr\/pam_panic\\\\\&.so/" $< >$<.tmp ; }
gzip -c $<.tmp >$@
rm $<.tmp
clean-local:
$(RM) -f ./*/*.gz
$(FIND) . -type d -not -name man1 -not -path . -exec rm -rf {} +