[Asterisk-cvs] asterisk Makefile,1.80,1.81

anthm at lists.digium.com anthm at lists.digium.com
Fri Apr 16 14:53:54 CDT 2004


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

Modified Files:
	Makefile 
Log Message:
* Patch to Makefiles to allow a script to query the make envirnoment.
* contrib/scripts/astxs (The tool itself)
* see bug 1329

-Anthony Minessale (anthm)


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/Makefile,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- Makefile	23 Mar 2004 17:00:13 -0000	1.80
+++ Makefile	16 Apr 2004 18:57:07 -0000	1.81
@@ -429,7 +429,6 @@
 
 mailbox:
 	./contrib/scripts/addmailbox 
-	
 
 rpm: __rpm
 
@@ -442,7 +441,7 @@
 	cp -f redhat/asterisk /tmp/asterisk/etc/rc.d/init.d/ ; \
 	sed "s/^Version:.*/Version: $(RPMVERSION)/g" redhat/asterisk.spec > asterisk.spec ; \
 	rpmbuild --rcfile /usr/lib/rpm/rpmrc:redhat/rpmrc -bb asterisk.spec
-	
+
 progdocs:
 	doxygen contrib/asterisk-ng-doxygen
 
@@ -454,7 +453,6 @@
 		install -m 755 init.asterisk /etc/init.d/asterisk; \
 	fi 
 
-	
 dont-optimize:
 	$(MAKE) OPTIMIZE= K6OPT= install
 
@@ -467,3 +465,9 @@
 	./mkdep ${CFLAGS} `ls *.c`
 
 FORCE:
+
+%_env:
+	make -C $(shell echo $@ | /bin/sed "s/_env//g") env
+
+env:
+	/bin/env




More information about the svn-commits mailing list