## -*-makefile-*-
##
-## $Id: Makefile.m4,v 1.38 2000/07/29 10:54:55 mdw Exp $
+## $Id: Makefile.m4,v 1.40 2000/08/06 10:50:55 mdw Exp $
##
## Makefile for Catacomb
##
##----- Revision history ----------------------------------------------------
##
## $Log: Makefile.m4,v $
+## Revision 1.40 2000/08/06 10:50:55 mdw
+## (mkphrase): New program for generating random passphrases with measured
+## strength.
+##
+## Revision 1.39 2000/07/29 21:55:32 mdw
+## Make sure the pixie is installed setuid-root (workaround for an Automake
+## bug). Install new manpages.
+##
## Revision 1.38 2000/07/29 10:54:55 mdw
## Further fixing to support building using normal `make' again. ;-) I
## think we're there now.
## --- Utility programs ---
-bin_PROGRAMS = dsig key pixie rspit factorial hashsum
+bin_PROGRAMS = dsig key pixie rspit factorial hashsum mkphrase
bin_SCRIPTS = catacomb-config xpixie
noinst_PROGRAMS = \
genprimes mptypes \
factorial_SOURCES = factorial.c
pixie_SOURCES = pixie.c pixie-common.c lmem.c arena.c
pixie_LDADD =
+mkphrase_SOURCES = mkphrase.c
des_mktab_SOURCES = des-mktab.c
des_mktab_LDADD =
mptypes_LDADD =
## --- Install the pixie setuid-root if we can ---
+##
+## Bodge around a bug in Automake: it doesn't call `install-exec-hook' from
+## `install' if there are subdirectories.
changequote(<, >)
+install: install-exec-hook
install-exec-hook:
@pixie="$(bindir)/`echo pixie|sed $(transform)`"; \
if chown root $$pixie && chmod 4755 $$pixie; then \
## --- Documentation ---
-man_MANS = key.1 keyring.5
+man_MANS = key.1 hashsum.1 keyring.5 pixie.1
## --- Other handy definitions ---