chiark / gitweb /
Explicit close-down notifications.
[tripe] / peerdb / Makefile.am
CommitLineData
6005ef9b
MW
1### -*-makefile-*-
2###
3### Makefile for peer database
4###
5### (c) 2006 Straylight/Edgeware
6###
7
8###----- Licensing notice ---------------------------------------------------
9###
10### This file is part of Trivial IP Encryption (TrIPE).
11###
12### TrIPE is free software; you can redistribute it and/or modify
13### it under the terms of the GNU General Public License as published by
14### the Free Software Foundation; either version 2 of the License, or
15### (at your option) any later version.
16###
17### TrIPE is distributed in the hope that it will be useful,
18### but WITHOUT ANY WARRANTY; without even the implied warranty of
19### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20### GNU General Public License for more details.
21###
22### You should have received a copy of the GNU General Public License
23### along with TrIPE; if not, write to the Free Software Foundation,
24### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25
26include $(top_srcdir)/vars.am
27
28sbin_SCRIPTS =
29man_MANS =
30
31###--------------------------------------------------------------------------
32### The peer database.
33
34sbin_SCRIPTS += tripe-newpeers
35CLEANFILES += tripe-newpeers
36EXTRA_DIST += tripe-newpeers.in
6005ef9b
MW
37
38tripe-newpeers: tripe-newpeers.in Makefile
2171b19e 39 $(SUBST) $(srcdir)/tripe-newpeers.in >$@.new $(SUBSTITUTIONS) && \
6005ef9b
MW
40 chmod +x $@.new && mv $@.new $@
41
42## Manual pages.
43man_MANS += peers.cdb.5
44CLEANFILES += peers.cdb.5
45EXTRA_DIST += peers.cdb.5.in
46
47man_MANS += peers.in.5
48CLEANFILES += peers.in.5
49EXTRA_DIST += peers.in.5.in
50
51man_MANS += tripe-newpeers.8
52CLEANFILES += tripe-newpeers.8
53EXTRA_DIST += tripe-newpeers.8.in
54
288fc12b
MW
55## Install peer database sources.
56EXTRA_DIST += peers.in
57
58install-data-local:: peers.in
59 $(MKDIR_P) $(DESTDIR)$(configdir)/peers.d
60 $(INSTALL_DATA) $(srcdir)/peers.in \
61 $(DESTDIR)$(configdir)/peers.d/10base
62uninstall-local::
63 rm -f $(DESTDIR)$(configdir)/peers.d/10base
64
6005ef9b 65###----- That's all, folks --------------------------------------------------