repo: ngircd action: commit revision: path_from: revision_from: 317941d840ed4d4763dce6cf31da4e263562ded6: path_to: revision_to:
commit 317941d840ed4d4763dce6cf31da4e263562ded6 Author: Alexander BartonDate: Sun Mar 10 17:05:23 2002 +0000 - die Beispiel-Konfigurationsdatei wird als ngircd.conf installiert, wenn noch keine "echte" Konfigurationsdatei vorhanden ist. diff --git a/doc/Makefile.am b/doc/Makefile.am
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -9,9 +9,13 @@
# 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/02/25 14:10:38 alex Exp $
+# $Id: Makefile.am,v 1.5 2002/03/10 17:05:23 alex Exp $
#
# $Log: Makefile.am,v $
+# Revision 1.5 2002/03/10 17:05:23 alex
+# - die Beispiel-Konfigurationsdatei wird als ngircd.conf installiert,
+# wenn noch keine "echte" Konfigurationsdatei vorhanden ist.
+#
# Revision 1.4 2002/02/25 14:10:38 alex
# - die neuen Texte werden nun auch in Archive ("make dist") aufgenommen ;-)
#
@@ -31,4 +35,10 @@ EXTRA_DIST = CC-Speed.txt CVS.txt FAQ.txt README-AUX.txt README-BeOS.txt \
maintainer-clean-local:
rm -f Makefile Makefile.in
+install-data-hook:
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
+ if [ ! -e $(DESTDIR)$(sysconfdir)/ngircd.conf ]; then \
+ $(INSTALL) -m 600 -c sample-ngircd.conf $(DESTDIR)$(sysconfdir)/ngircd.conf; \
+ fi
+
# -eof-
-----END OF PAGE-----