chiark / gitweb /
src/tripe-ifup.in: Hack IPv6 up on VPN interfaces.
[tripe] / keys / Makefile.am
index 398a299e1485bdd4bddc7163e6327b0d50090677..68a0d221344760e7f244fe172feccb2e00c9a21c 100644 (file)
@@ -1,35 +1,51 @@
-## -*-makefile-*-
-##
-## $Id$
-##
-## Makefile for TrIPE key management tool
-##
-## (c) 2001 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.
-
-AUTOMAKE_OPTIONS = foreign
-
-PYTHONSCRIPTS = tripe-keys
-bin_SCRIPTS = @pyscripts@
-
-EXTRA_SCRIPTS = ${PYTHONSCRIPTS}
-
-##----- That's all, folks ---------------------------------------------------
+### -*-makefile-*-
+###
+### Makefile for TrIPE key management tool
+###
+### (c) 2001 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                =
+
+###--------------------------------------------------------------------------
+### Key-management.
+
+## Key-management script.
+sbin_SCRIPTS           += tripe-keys
+EXTRA_DIST             += tripe-keys.in
+CLEANFILES             += tripe-keys
+
+tripe-keys: tripe-keys.in Makefile
+       $(SUBST) $(srcdir)/tripe-keys.in >$@.new $(SUBSTITUTIONS) && \
+               chmod +x $@.new && mv $@.new $@
+
+## Manual pages.
+man_MANS               += tripe-keys.8 tripe-keys.conf.5
+CLEANFILES             += tripe-keys.8 tripe-keys.conf.5
+EXTRA_DIST             += tripe-keys.8.in tripe-keys.conf.5.in
+
+## Examples.
+EXTRA_DIST             += tripe-keys.master
+
+###----- That's all, folks --------------------------------------------------