2002-01-02 03:40:31 +01:00
|
|
|
#
|
|
|
|
# ngIRCd -- The Next Generation IRC Daemon
|
2010-10-25 14:46:58 +02:00
|
|
|
# Copyright (c)2001-2010 Alexander Barton (alex@barton.de)
|
2002-01-02 03:40:31 +01:00
|
|
|
#
|
|
|
|
# Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen
|
|
|
|
# der GNU General Public License (GPL), wie von der Free Software Foundation
|
|
|
|
# herausgegeben, weitergeben und/oder modifizieren, entweder unter Version 2
|
|
|
|
# der Lizenz oder (wenn Sie es wuenschen) jeder spaeteren Version.
|
|
|
|
# Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
|
|
|
|
# der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
|
|
|
|
#
|
2001-12-31 03:22:29 +01:00
|
|
|
|
2010-11-01 23:47:04 +01:00
|
|
|
.tmpl:
|
|
|
|
sed \
|
|
|
|
-e s@:ETCDIR:@${sysconfdir}@ \
|
|
|
|
<$< >$@
|
|
|
|
|
|
|
|
SUFFIXES = .tmpl
|
|
|
|
|
2010-11-15 20:11:16 +01:00
|
|
|
static_docs = Bopm.txt FAQ.txt GIT.txt HowToRelease.txt PAM.txt Platforms.txt \
|
|
|
|
Protocol.txt README-AUX.txt README-BeOS.txt README-Interix.txt RFC.txt \
|
|
|
|
SSL.txt Services.txt Zeroconf.txt
|
2010-11-03 23:47:21 +01:00
|
|
|
|
|
|
|
doc_templates = sample-ngircd.conf.tmpl
|
|
|
|
|
|
|
|
generated_docs = sample-ngircd.conf
|
|
|
|
|
|
|
|
toplevel_docs = ../AUTHORS ../COPYING ../ChangeLog ../INSTALL ../NEWS ../README
|
|
|
|
|
2005-07-22 23:00:22 +02:00
|
|
|
SUBDIRS = src
|
|
|
|
|
2010-11-03 23:47:21 +01:00
|
|
|
EXTRA_DIST = $(static_docs) $(doc_templates)
|
|
|
|
|
|
|
|
CLEANFILES = $(generated_docs)
|
2001-12-31 03:22:29 +01:00
|
|
|
|
2001-12-31 03:45:24 +01:00
|
|
|
maintainer-clean-local:
|
|
|
|
rm -f Makefile Makefile.in
|
|
|
|
|
2010-11-03 23:47:21 +01:00
|
|
|
all: $(generated_docs)
|
2003-03-30 15:31:17 +02:00
|
|
|
|
2010-11-03 23:47:21 +01:00
|
|
|
install-data-hook: $(static_docs) $(toplevel_docs) $(generated_docs)
|
2002-03-10 18:05:23 +01:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(sysconfdir)
|
2002-03-30 16:33:14 +01:00
|
|
|
if [ ! -f $(DESTDIR)$(sysconfdir)/ngircd.conf ]; then \
|
2010-11-03 23:47:21 +01:00
|
|
|
$(INSTALL) -m 600 -c sample-ngircd.conf $(DESTDIR)$(sysconfdir)/ngircd.conf; \
|
2003-03-30 15:31:17 +02:00
|
|
|
fi
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(docdir)
|
2010-11-03 23:47:21 +01:00
|
|
|
for f in $(static_docs) $(toplevel_docs); do \
|
2003-03-30 15:31:17 +02:00
|
|
|
$(INSTALL) -m 644 -c $(srcdir)/$$f $(DESTDIR)$(docdir)/; \
|
|
|
|
done
|
2010-11-03 23:47:21 +01:00
|
|
|
for f in $(generated_docs); do \
|
|
|
|
$(INSTALL) -m 644 -c $$f $(DESTDIR)$(docdir)/; \
|
|
|
|
done
|
2002-03-10 18:05:23 +01:00
|
|
|
|
2003-03-30 15:45:29 +02:00
|
|
|
uninstall-hook:
|
|
|
|
rm -rf $(DESTDIR)$(docdir)
|
|
|
|
|
2005-07-22 23:00:22 +02:00
|
|
|
srcdoc:
|
|
|
|
make -C src srcdoc
|
|
|
|
|
2001-12-31 03:22:29 +01:00
|
|
|
# -eof-
|