chiark / gitweb /
Use standard GNU uppercase for metavariables in usage strings. Some manpage
[tripe] / Makefile.am
index 435d649a07f12be7762ae76f67082eb25be33d4d..b45927eb1526d76cb2e97139e96294ce8e328dd0 100644 (file)
@@ -1,6 +1,6 @@
 ## -*-makefile-*-
 ##
-## $Id: Makefile.am,v 1.8 2003/10/15 09:31:24 mdw Exp $
+## $Id: Makefile.am,v 1.10 2004/04/08 01:36:17 mdw Exp $
 ##
 ## Makefile for TrIPE
 ##
 ## along with TrIPE; if not, write to the Free Software Foundation,
 ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-##----- Revision history ----------------------------------------------------
-##
-## $Log: Makefile.am,v $
-## Revision 1.8  2003/10/15 09:31:24  mdw
-## Remove buf, and add Ethereal analysis.
-##
-## Revision 1.7  2003/05/17 11:04:38  mdw
-## Ship new configuration and startup kit.
-##
-## Revision 1.6  2003/04/23 12:53:28  mdw
-## New pkstream program.
-##
-## Revision 1.5  2001/06/19 22:12:57  mdw
-## Build new proxy program.
-##
-## Revision 1.4  2001/02/22 09:07:28  mdw
-## Build documents now.
-##
-## Revision 1.3  2001/02/16 21:42:02  mdw
-## Only link the server against Catacomb.
-##
-## Revision 1.2  2001/02/05 19:48:18  mdw
-## Initial support for BSD tunnel devices.
-##
-## Revision 1.1  2001/02/03 20:26:37  mdw
-## Initial checkin.
-##
-
 AUTOMAKE_OPTIONS = foreign
 SUBDIRS = doc @DIRS@
+configdir = @configdir@
+socketdir = @socketdir@
+logdir = @logdir@
 
 CATACOMB_LIBS = @CATACOMB_LIBS@
 tun = @tun@
@@ -63,7 +38,7 @@ sbin_PROGRAMS = tripe
 bin_PROGRAMS = tripectl tripe-mitm pkstream
 noinst_SCRIPTS = tripe-init
 tripe_SOURCES = \
-       tripe.c tripe.h \
+       tripe.c tripe.h tripe-protocol.h \
        admin.c peer.c tun-$(tun).c \
        keymgmt.c keyexch.c keyset.c \
        servutil.c util.c util.h
@@ -79,6 +54,13 @@ tripe_mitm_LDADD = $(CATACOMB_LIBS)
 pkstream_SOURCES = \
        pkstream.c
 
-EXTRA_DIST = tripe.conf
+install-hook:
+       for i in "$(configdir)" "$(socketdir)"; do \
+         case "$$i" in /*) $(mkinstalldirs) $(DESTDIR)$$i;; esac; \
+       done
+
+EXTRA_DIST = tripe.conf \
+       debian/rules debian/control debian/changelog debian/copyright \
+       debian/tripe.postinst debian/tripe.prerm debian/tripe.postrm
 
 ##----- That's all, folks ---------------------------------------------------