summaryrefslogtreecommitdiff
path: root/ngircd/man/Makefile.am
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-10-23 23:44:03 +0800
committerMistivia <i@mistivia.com>2025-10-23 23:44:07 +0800
commitc8aeef18cb46a617b6397b9822263895e97e9048 (patch)
treeebe127e7c194039f315b74a5998b05a271c57b9d /ngircd/man/Makefile.am
add ircd
Diffstat (limited to 'ngircd/man/Makefile.am')
-rw-r--r--ngircd/man/Makefile.am32
1 files changed, 32 insertions, 0 deletions
diff --git a/ngircd/man/Makefile.am b/ngircd/man/Makefile.am
new file mode 100644
index 0000000..077d0ea
--- /dev/null
+++ b/ngircd/man/Makefile.am
@@ -0,0 +1,32 @@
+#
+# ngIRCd -- The Next Generation IRC Daemon
+# Copyright (c)2001-2012 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
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# Please read the file COPYING, README and AUTHORS for more information.
+#
+
+TEMPLATE_MANS = ngircd.conf.5.tmpl ngircd.8.tmpl
+
+SUFFIXES = .tmpl .
+
+.tmpl:
+ $(AM_V_GEN)sed \
+ -e "s@:SBINDIR:@${sbindir}@" \
+ -e "s@:BINDIR:@${bindir}@" \
+ -e "s@:ETCDIR:@${sysconfdir}@" \
+ <$< >$@
+
+man_MANS = ngircd.conf.5 ngircd.8
+
+CLEANFILES = $(man_MANS)
+
+EXTRA_DIST = $(TEMPLATE_MANS)
+
+maintainer-clean-local:
+ rm -f Makefile Makefile.in
+
+# -eof-