chiark / gitweb /
init: Introduce the peer database.
[tripe] / peerdb / Makefile.am
diff --git a/peerdb/Makefile.am b/peerdb/Makefile.am
new file mode 100644 (file)
index 0000000..55477f4
--- /dev/null
@@ -0,0 +1,57 @@
+### -*-makefile-*-
+###
+### Makefile for peer database
+###
+### (c) 2006 Straylight/Edgeware
+###
+
+###----- Licensing notice ---------------------------------------------------
+###
+### This file is part of Trivial IP Encryption (TrIPE).
+###
+### TrIPE is free software; you can redistribute it and/or modify
+### it under the terms of the GNU General Public License as published by
+### the Free Software Foundation; either version 2 of the License, or
+### (at your option) any later version.
+###
+### TrIPE is distributed in the hope that it will be useful,
+### but WITHOUT ANY WARRANTY; without even the implied warranty of
+### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+### GNU General Public License for more details.
+###
+### You should have received a copy of the GNU General Public License
+### along with TrIPE; if not, write to the Free Software Foundation,
+### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+include $(top_srcdir)/vars.am
+
+sbin_SCRIPTS            =
+man_MANS                =
+
+###--------------------------------------------------------------------------
+### The peer database.
+
+sbin_SCRIPTS           += tripe-newpeers
+CLEANFILES             += tripe-newpeers
+EXTRA_DIST             += tripe-newpeers.in
+EXTRA_DIST             += peers.in
+
+tripe-newpeers: tripe-newpeers.in Makefile
+       $(confsubst) $(srcdir)/tripe-newpeers.in >$@.new \
+               $(SUBSTITUTIONS) && \
+               chmod +x $@.new && mv $@.new $@
+
+## Manual pages.
+man_MANS               += peers.cdb.5
+CLEANFILES             += peers.cdb.5
+EXTRA_DIST             += peers.cdb.5.in
+
+man_MANS               += peers.in.5
+CLEANFILES             += peers.in.5
+EXTRA_DIST             += peers.in.5.in
+
+man_MANS               += tripe-newpeers.8
+CLEANFILES             += tripe-newpeers.8
+EXTRA_DIST             += tripe-newpeers.8.in
+
+###----- That's all, folks --------------------------------------------------