From 317941d840ed4d4763dce6cf31da4e263562ded6 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sun, 10 Mar 2002 17:05:23 +0000 Subject: [PATCH 1/1] - die Beispiel-Konfigurationsdatei wird als ngircd.conf installiert, wenn noch keine "echte" Konfigurationsdatei vorhanden ist. --- doc/Makefile.am | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index e3094f77..d9bbc495 100644 --- 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- -- 2.39.2