X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2FMakefile.am;h=5913c94ee1fdd05fbd34808c80d3e11646e79cb3;hb=a69866f3f9ccbd7dbd0fe1adc9ae49e7dd33bd9c;hp=3bf68fb4a22991bfde217b124b956d80d4f4907b;hpb=4cf65b973c780880047b0ad4e77e95cf7315cb0f;p=ngircd-alex.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 3bf68fb4..5913c94e 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,6 +1,6 @@ # # ngIRCd -- The Next Generation IRC Daemon -# Copyright (c)2001-2012 Alexander Barton (alex@barton.de) and Contributors +# Copyright (c)2001-2015 Alexander Barton (alex@barton.de) and Contributors # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -10,8 +10,9 @@ # .tmpl: - sed \ - -e s@:ETCDIR:@${sysconfdir}@ \ + $(AM_V_GEN)sed \ + -e "s@:ETCDIR:@${sysconfdir}@" \ + -e "s@:DOCDIR:@${docdir}@" \ <$< >$@ SUFFIXES = .tmpl @@ -19,8 +20,9 @@ SUFFIXES = .tmpl static_docs = \ Bopm.txt \ Capabilities.txt \ + Commands.txt \ + Contributing.txt \ FAQ.txt \ - GIT.txt \ HowToRelease.txt \ Modes.txt \ PAM.txt \ @@ -51,11 +53,11 @@ maintainer-clean-local: all: $(generated_docs) install-data-hook: $(static_docs) $(toplevel_docs) $(generated_docs) - $(mkinstalldirs) $(DESTDIR)$(sysconfdir) + $(MKDIR_P) -m 755 $(DESTDIR)$(sysconfdir) @if [ ! -f $(DESTDIR)$(sysconfdir)/ngircd.conf ]; then \ make install-config; \ fi - $(mkinstalldirs) $(DESTDIR)$(docdir) + $(MKDIR_P) -m 755 $(DESTDIR)$(docdir) for f in $(static_docs) $(toplevel_docs); do \ $(INSTALL) -m 644 -c $(srcdir)/$$f $(DESTDIR)$(docdir)/; \ done