chiark / gitweb /
mon/tripemon.in (cryptolayout): Use formatting functions for details.
[tripe] / peerdb / Makefile.am
... / ...
CommitLineData
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
25include $(top_srcdir)/vars.am
26
27sbin_SCRIPTS =
28man_MANS =
29
30###--------------------------------------------------------------------------
31### The peer database.
32
33sbin_SCRIPTS += tripe-newpeers
34CLEANFILES += tripe-newpeers
35EXTRA_DIST += tripe-newpeers.in
36
37tripe-newpeers: tripe-newpeers.in Makefile
38 $(SUBST) $(srcdir)/tripe-newpeers.in >$@.new $(SUBSTITUTIONS) && \
39 chmod +x $@.new && mv $@.new $@
40
41## Manual pages.
42man_MANS += peers.cdb.5tripe
43CLEANFILES += peers.cdb.5tripe
44EXTRA_DIST += peers.cdb.5.in
45
46man_MANS += peers.in.5tripe
47CLEANFILES += peers.in.5tripe
48EXTRA_DIST += peers.in.5.in
49
50man_MANS += tripe-newpeers.8tripe
51CLEANFILES += tripe-newpeers.8tripe
52EXTRA_DIST += tripe-newpeers.8.in
53
54## Install peer database sources.
55EXTRA_DIST += peers.in
56
57install-data-local:: peers.in
58 $(MKDIR_P) $(DESTDIR)$(configdir)/peers.d
59 $(INSTALL_DATA) $(srcdir)/peers.in \
60 $(DESTDIR)$(configdir)/peers.d/10base
61uninstall-local::
62 rm -f $(DESTDIR)$(configdir)/peers.d/10base
63
64###----- That's all, folks --------------------------------------------------