1 |
# Makefile for data directory. |
2 |
# |
3 |
# IRC Services is copyright (c) 1996-2009 Andrew Church. |
4 |
# E-mail: <achurch@achurch.org> |
5 |
# Parts written by Andrew Kempe and others. |
6 |
# This program is free but copyrighted software; see the file GPL.txt for |
7 |
# details. |
8 |
|
9 |
include ../Makefile.inc |
10 |
TOPDIR=.. |
11 |
|
12 |
all: example-ircservices.conf example-modules.conf |
13 |
|
14 |
%.conf: %.conf.in Makefile ../Makefile.inc |
15 |
sed 's/@PROGRAM@/$(PROGRAM)/g' <$< >$@ |
16 |
|
17 |
install: all $(DATDEST)/helpfiles |
18 |
$(INSTALL_DAT) example-ircservices.conf "$(INSTALL_PREFIX)$(DATDEST)/example-$(PROGRAM).conf" |
19 |
$(INSTALL_DAT) example-modules.conf "$(INSTALL_PREFIX)$(DATDEST)/example-modules.conf" |
20 |
|
21 |
$(DATDEST)/helpfiles: |
22 |
$(CP_ALL) helpfiles "$(DATDEST)" |