X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=man%2FMakefile.am;h=ebe9fcef41f1c6cbe74b143a924ae3743df9095f;hp=e4013bd9c0356dc987adb54017fa243275a96f24;hb=bcefdef1eaed14d3156b7fb5b9ad6d3b7078efcf;hpb=4b17e86c965180b18d9760eb0b1226728d0f70d2 diff --git a/man/Makefile.am b/man/Makefile.am index e4013bd9..ebe9fcef 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -9,15 +9,25 @@ # Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste # der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. # -# $Id: Makefile.am,v 1.4 2002/04/04 12:28:29 alex Exp $ +# $Id: Makefile.am,v 1.6 2006/12/25 16:13:26 alex Exp $ # +TEMPLATE_MANS = ngircd.conf.5.tmpl ngircd.8.tmpl + +SUFFIXES = .tmpl . + +.tmpl: + sed \ + -e s@:SBINDIR:@${sbindir}@ \ + -e s@:BINDIR:@${bindir}@ \ + -e s@:ETCDIR:@${sysconfdir}@ \ + <$< >$@ + man_MANS = ngircd.conf.5 ngircd.8 -EXTRA_DIST = $(man_MANS) +CLEANFILES = $(man_MANS) -clean-local: - rm -f *.[0-9] +EXTRA_DIST = $(TEMPLATE_MANS) maintainer-clean-local: rm -f Makefile Makefile.in