From bc8fea8583d9b1419861f673f6d8a7728baeb4ba Mon Sep 17 00:00:00 2001 From: mdw Date: Sun, 12 Oct 2003 00:15:34 +0000 Subject: [PATCH] Fix to makefile install rules. --- src/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 ">>>>>"; \ -- 2.11.0