chiark / gitweb /
src/tripe-ifup.in: Hack IPv6 up on VPN interfaces.
[tripe] / mon / Makefile.am
index 6c223df7e3bac8b9c59927f491ac79f5870d4a39..128c35e3e16bffd77662b6025094fb3610263118 100644 (file)
@@ -1,35 +1,48 @@
-## -*-makefile-*-
-##
-## $Id$
-##
-## Makefile for TrIPE graphical monitor
-##
-## (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
-
-PYGTKSCRIPTS = tripemon
-bin_SCRIPTS = @pygtkscripts@
-
-EXTRA_SCRIPTS = ${PYGTKSCRIPTS}
-
-##----- That's all, folks ---------------------------------------------------
+### -*-makefile-*-
+###
+### Makefile for TrIPE graphical monitor
+###
+### (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
+
+bin_SCRIPTS             =
+man_MANS                =
+
+###--------------------------------------------------------------------------
+### Graphical monitor.
+
+## Monitor script.
+bin_SCRIPTS            += tripemon
+EXTRA_DIST             += tripemon.in
+CLEANFILES             += tripemon
+
+tripemon: tripemon.in Makefile
+       $(SUBST) $(srcdir)/tripemon.in >$@.new $(SUBSTITUTIONS) && \
+               chmod +x $@.new && mv $@.new $@
+
+## Manual page.
+man_MANS               += tripemon.1
+CLEANFILES             += tripemon.1
+EXTRA_DIST             += tripemon.1.in
+
+###----- That's all, folks --------------------------------------------------