pam_panic/src/pam_panic_pw/man/Makefile.am

18 lines
564 B
Makefile
Raw Normal View History

2018-04-03 01:26:25 +00:00
cant_believe_its_not_mandir = $(mandir)
nobase_dist_cant_believe_its_not_man_DATA = \
2018-04-03 01:53:56 +00:00
man1/pam_panic_pw.1.gz \
2018-05-31 11:07:18 +00:00
de/man1/pam_panic_pw.1.gz \
fr/man1/pam_panic_pw.1.gz \
ja/man1/pam_panic_pw.1.gz \
2018-08-12 19:15:30 +00:00
es/man1/pam_panic_pw.1.gz
2018-04-03 01:20:17 +00:00
%.gz: %
2018-04-03 13:52:18 +00:00
{ 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 >$@
2018-09-29 17:02:11 +00:00
rm $<.tmp
2018-04-03 13:52:18 +00:00
clean-local:
2018-09-29 17:02:11 +00:00
$(RM) -f ./*/*.gz
$(FIND) . -type d -not -name man1 -not -path . -exec rm -rf {} +