chiark / gitweb /
Upgrade licence to GPLv3+.
[tripe] / keys / Makefile.am
index 9df6e1792f8521a34f57958010ba84970a1ac6a6..5606dd0a1f36cbeed38f7ff0581d0976b5e39b45 100644 (file)
@@ -1,33 +1,50 @@
-## -*-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.
-
-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 3 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, see <https://www.gnu.org/licenses/>.
+
+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.8tripe tripe-keys.conf.5tripe
+CLEANFILES             += tripe-keys.8tripe tripe-keys.conf.5tripe
+EXTRA_DIST             += tripe-keys.8.in tripe-keys.conf.5.in
+
+## Examples.
+EXTRA_DIST             += tripe-keys.master
+
+###----- That's all, folks --------------------------------------------------