[asterisk-commits] mjordan: branch 11 r405362 - /branches/11/res/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 13 15:45:40 CST 2014


Author: mjordan
Date: Mon Jan 13 15:45:35 2014
New Revision: 405362

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=405362
Log:
res/Makefile: alias dist-clean to distclean

A 'make distclean' is equivalent to 'make dist-clean' in the top most Makefile.
This patch updates the res/Makefile to recognize both distclean and dist-clean.
Note that this is needed for removing build.mak, which can run into problems
if the source file of Asterisk or its path is changed after build.mak is
generated.

(issue ASTERISK-22480)
Reported by: Matt Jordan

Modified:
    branches/11/res/Makefile

Modified: branches/11/res/Makefile
URL: http://svnview.digium.com/svn/asterisk/branches/11/res/Makefile?view=diff&rev=405362&r1=405361&r2=405362
==============================================================================
--- branches/11/res/Makefile (original)
+++ branches/11/res/Makefile Mon Jan 13 15:45:35 2014
@@ -70,7 +70,8 @@
 	@if [ -f pjproject/build.mak ]; then $(MAKE) -C pjproject realclean; fi
 	rm -f snmp/*.o snmp/*.i ael/*.o ael/*.i ais/*.o ais/*.i
 
-dist-clean::
+dist-clean:: distclean
+distclean::
 	rm -f pjproject/build.mak
 
 pjproject/build.mak: pjproject/aconfigure
@@ -92,4 +93,5 @@
 res_rtp_asterisk.o: _ASTCFLAGS+=$(PJ_CFLAGS)
 res_rtp_asterisk.so: _ASTLDFLAGS+=$(PJ_LDFLAGS)
 res_rtp_asterisk.so: LIBS+=$(PJ_LDLIBS)
-endif
+endif
+




More information about the asterisk-commits mailing list