X-Git-Url: https://git.distorted.org.uk/~mdw/become/blobdiff_plain/f60a34341fee6aafd5b878dce23b80af7c60064d..bc8fea8583d9b1419861f673f6d8a7728baeb4ba:/src/Makefile.am diff --git a/src/Makefile.am b/src/Makefile.am index 57a4751..c04dd1a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,7 +1,7 @@ ## 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' ## @@ -29,6 +29,9 @@ ##----- 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. @@ -124,7 +127,7 @@ bcquery_DEPENDENCIES = libbecome.a ##----- 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 ">>>>>"; \