1 # doc/Makefile for the Undernet IRC Daemon.
2 # Copyright (C) 1997, Carlo Wood <carlo@runaway.xs4all.nl>
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2, or (at your option)
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
19 #### Start of system configuration section. ####
22 top_srcdir = @top_srcdir@
30 DATAROOTDIR = @datarootdir@
34 #### End of system configuration section. ####
43 ${RM} -f Makefile stamp-m
45 maintainer-clean: distclean
50 test -d ${MANDIR}/man8 || mkdir ${MANDIR}/man8 || mkdir -p ${MANDIR}/man8
51 ${INSTALL} -m 644 ${srcdir}/ircd.8 ${MANDIR}/man8
54 ${RM} -f ${MANDIR}/man8/ircd.8
56 # You need GNU make for this to work.
57 # Makefile: ../config/config.status Makefile.in ../config/gen.doc.Makefile \
58 # ../config/.config stamp-m
59 # @echo "recreating doc/Makefile"
61 # CONFIG_FILES=../doc/Makefile CONFIG_HEADERS= ./config.status > /dev/null; \
62 # RM=${RM} ${SHELL} ./gen.doc.Makefile
65 # echo timestamp > stamp-m
67 # ../config/config.status:
68 # @cd ../config; ${MAKE} config.status