commit 47faa8595aabc7eb0ab12d4901e82c648facbe1e from: Alexander Barton date: Sun Mar 30 13:31:17 2003 UTC Install documentation files in $(datadir)/doc/ngircd. commit - 9ab97b29ae9457d7ba370202f9f5dd97fdf07b54 commit + 47faa8595aabc7eb0ab12d4901e82c648facbe1e blob - 56378951a03172781a7a02d19e04d81ab42a666c blob + 1d1e3b4b60c6c059962f977d4762213734c4fb49 --- doc/Makefile.am +++ doc/Makefile.am @@ -9,7 +9,7 @@ # 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.12 2003/03/15 11:00:31 alex Exp $ +# $Id: Makefile.am,v 1.13 2003/03/30 13:31:17 alex Exp $ # EXTRA_DIST = CVS.txt FAQ.txt Protocol.txt README-AUX.txt \ @@ -18,10 +18,19 @@ EXTRA_DIST = CVS.txt FAQ.txt Protocol.txt README-AUX.t maintainer-clean-local: rm -f Makefile Makefile.in +docdir = $(datadir)/doc/ngircd + +documents = $(EXTRA_DIST) ../AUTHORS ../COPYING ../ChangeLog ../INSTALL \ + ../NEWS ../README + install-data-hook: $(mkinstalldirs) $(DESTDIR)$(sysconfdir) if [ ! -f $(DESTDIR)$(sysconfdir)/ngircd.conf ]; then \ $(INSTALL) -m 600 -c $(srcdir)/sample-ngircd.conf $(DESTDIR)$(sysconfdir)/ngircd.conf; \ - fi + fi + $(mkinstalldirs) $(DESTDIR)$(docdir) + for f in $(documents); do \ + $(INSTALL) -m 644 -c $(srcdir)/$$f $(DESTDIR)$(docdir)/; \ + done # -eof-