chiark / gitweb /
Upgrade licence to GPLv3+.
[tripe] / peerdb / Makefile.am
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 it under
13 ### the terms of the GNU General Public License as published by the Free
14 ### Software Foundation; either version 3 of the License, or (at your
15 ### option) any later version.
16 ###
17 ### TrIPE is distributed in the hope that it will be useful, but WITHOUT
18 ### ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 ### FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
20 ### for more details.
21 ###
22 ### You should have received a copy of the GNU General Public License
23 ### along with TrIPE.  If not, see <https://www.gnu.org/licenses/>.
24
25 include $(top_srcdir)/vars.am
26
27 sbin_SCRIPTS             =
28 man_MANS                 =
29
30 ###--------------------------------------------------------------------------
31 ### The peer database.
32
33 sbin_SCRIPTS            += tripe-newpeers
34 CLEANFILES              += tripe-newpeers
35 EXTRA_DIST              += tripe-newpeers.in
36
37 tripe-newpeers: tripe-newpeers.in Makefile
38         $(SUBST) $(srcdir)/tripe-newpeers.in >$@.new $(SUBSTITUTIONS) && \
39                 chmod +x $@.new && mv $@.new $@
40
41 ## Manual pages.
42 man_MANS                += peers.cdb.5tripe
43 CLEANFILES              += peers.cdb.5tripe
44 EXTRA_DIST              += peers.cdb.5.in
45
46 man_MANS                += peers.in.5tripe
47 CLEANFILES              += peers.in.5tripe
48 EXTRA_DIST              += peers.in.5.in
49
50 man_MANS                += tripe-newpeers.8tripe
51 CLEANFILES              += tripe-newpeers.8tripe
52 EXTRA_DIST              += tripe-newpeers.8.in
53
54 ## Install peer database sources.
55 EXTRA_DIST             += peers.in
56
57 install-data-local:: peers.in
58         $(MKDIR_P) $(DESTDIR)$(configdir)/peers.d
59         $(INSTALL_DATA) $(srcdir)/peers.in \
60                 $(DESTDIR)$(configdir)/peers.d/10base
61 uninstall-local::
62         rm -f $(DESTDIR)$(configdir)/peers.d/10base
63
64 ###----- That's all, folks --------------------------------------------------