## Process this file with `automake' to generate `Makefile.in'
## -*-makefile-*-
##
-## $Id: Makefile.am,v 1.14 2003/10/12 00:14:55 mdw Exp $
+## $Id: Makefile.am,v 1.15 2003/10/12 00:15:34 mdw Exp $
##
## Makefile for `become'
##
##----- Revision history ----------------------------------------------------
##
## $Log: Makefile.am,v $
+## Revision 1.15 2003/10/12 00:15:34 mdw
+## Fix to makefile install rules.
+##
## Revision 1.14 2003/10/12 00:14:55 mdw
## Major overhaul. Now uses DSA signatures rather than the bogus symmetric
## encrypt-and-hope thing. Integrated with mLib and Catacomb.
##----- Become must be setuid root ------------------------------------------
install-exec-hook:
- become_prog=${bindir}/`echo become|sed '${transform}'`; \
+ become_prog=$(DESTDIR)/${bindir}/`echo become|sed '${transform}'`; \
{ chown root $${become_prog} && \
chmod 4755 $${become_prog}; } || \
{ echo ">>>>>"; \