[Asterisk-cvs] asterisk/agi Makefile,1.3,1.4

markster at lists.digium.com markster at lists.digium.com
Sat Oct 25 12:01:46 CDT 2003


Update of /usr/cvsroot/asterisk/agi
In directory mongoose.digium.com:/tmp/cvs-serv5590/agi

Modified Files:
	Makefile 
Log Message:
Add DESTDIR support (bug #200)


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/agi/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Makefile	19 Aug 2003 16:42:30 -0000	1.3
+++ Makefile	25 Oct 2003 17:27:53 -0000	1.4
@@ -18,7 +18,8 @@
 all: depend $(AGIS)
 
 install: all
-	for x in $(AGIS); do $(INSTALL) -m 755 $$x $(AGI_DIR) ; done
+	mkdir -p $(DESTDIR)$(AGI_DIR)
+	for x in $(AGIS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(AGI_DIR) ; done
 
 eagi-test: eagi-test.o
 	$(CC) -o eagi-test eagi-test.o




More information about the svn-commits mailing list