diff options
| author | Florian Westphal <fw@strlen.de> | 2010-11-01 23:47:04 +0100 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2010-11-03 20:41:42 +0100 |
| commit | 4a197638688d4e39d57f201ac735a38c9fc5a260 (patch) | |
| tree | d94e997b73dfabbe9c5b4368d4820ffc1d20b4ba /doc/Makefile.am | |
| parent | bdcf3f0e246c5aa3072c4f82dd9cd0541f4e79aa (diff) | |
| download | ngircd-4a197638688d4e39d57f201ac735a38c9fc5a260.tar.gz ngircd-4a197638688d4e39d57f201ac735a38c9fc5a260.zip | |
doc: change path names in sample-ngircd.conf depending on sysconfdir
Diffstat (limited to 'doc/Makefile.am')
| -rw-r--r-- | doc/Makefile.am | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index 1e5773ec..51fab0ee 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -10,6 +10,13 @@ # der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. # +.tmpl: + sed \ + -e s@:ETCDIR:@${sysconfdir}@ \ + <$< >$@ + +SUFFIXES = .tmpl + SUBDIRS = src EXTRA_DIST = FAQ.txt GIT.txt Protocol.txt Platforms.txt README-AUX.txt \ @@ -22,7 +29,7 @@ maintainer-clean-local: documents = $(EXTRA_DIST) ../AUTHORS ../COPYING ../ChangeLog ../INSTALL \ ../NEWS ../README -install-data-hook: +install-data-hook: $(documents) $(mkinstalldirs) $(DESTDIR)$(sysconfdir) if [ ! -f $(DESTDIR)$(sysconfdir)/ngircd.conf ]; then \ $(INSTALL) -m 600 -c $(srcdir)/sample-ngircd.conf $(DESTDIR)$(sysconfdir)/ngircd.conf; \ |