X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=man%2FMakefile.am;h=077d0eabad1b6b8edf2d7846476d803b8552775b;hp=accd46b81210a70fcc06efe92371424568cc7dfe;hb=e009fc87d54602cc2a4d9b60257f40bad14fc081;hpb=69b05aca38b52fe4a5165658b210a66fb026d4bf diff --git a/man/Makefile.am b/man/Makefile.am index accd46b8..077d0eab 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,29 +1,30 @@ # # ngIRCd -- The Next Generation IRC Daemon -# Copyright (c)2001,2002 by Alexander Barton (alex@barton.de) +# Copyright (c)2001-2012 Alexander Barton (alex@barton.de) and Contributors # -# 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. -# -# $Id: Makefile.am,v 1.1 2002/03/31 20:23:06 alex Exp $ +# 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. # -man_MANS = ngircd.conf.5 ngircd.8 +TEMPLATE_MANS = ngircd.conf.5.tmpl ngircd.8.tmpl -EXTRA_DIST = ngircd.conf.5.nroff ngircd.8.nroff +SUFFIXES = .tmpl . -ngircd.conf.5: ngircd.conf.5.nroff - nroff -man -Tascii ngircd.conf.5.nroff > ngircd.conf.5 +.tmpl: + $(AM_V_GEN)sed \ + -e "s@:SBINDIR:@${sbindir}@" \ + -e "s@:BINDIR:@${bindir}@" \ + -e "s@:ETCDIR:@${sysconfdir}@" \ + <$< >$@ + +man_MANS = ngircd.conf.5 ngircd.8 -ngircd.8: ngircd.8.nroff - nroff -man -Tascii ngircd.8.nroff > ngircd.8 +CLEANFILES = $(man_MANS) -clean-local: - rm -f *.[0-9] +EXTRA_DIST = $(TEMPLATE_MANS) maintainer-clean-local: rm -f Makefile Makefile.in