From: mdw Date: Sun, 12 Oct 2003 00:15:34 +0000 (+0000) Subject: Fix to makefile install rules. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/become/commitdiff_plain/bc8fea8583d9b1419861f673f6d8a7728baeb4ba Fix to makefile install rules. --- 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 ">>>>>"; \