[svn-commits] lathama: trunk r374963 - /trunk/Makefile
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Sat Oct 13 12:38:45 CDT 2012
Author: lathama
Date: Sat Oct 13 12:38:41 2012
New Revision: 374963
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=374963
Log:
Multiplatform Makefile Update
Paul Belanger pointed out that using sed in the Makefile is an issue with multiple platforms. We are cleaning up the Doxygen config as a following step so I just switched the sed inplace changes to be an echo append instead.
(issue ASTERISK-20259)
Modified:
trunk/Makefile
Modified: trunk/Makefile
URL: http://svnview.digium.com/svn/asterisk/trunk/Makefile?view=diff&rev=374963&r1=374962&r2=374963
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Sat Oct 13 12:38:41 2012
@@ -744,11 +744,11 @@
@echo "DOT is not installed. Doxygen will not produce any diagrams. Please install and re-run the configuration script."
else
# Enable DOT
- @sed -i "/^HAVE_DOT/s/NO/YES/" contrib/asterisk-ng-doxygen
+ @echo "HAVE_DOT = YES" >> contrib/asterisk-ng-doxygen
endif
# Set Doxygen PROJECT_NUMBER variable
ifneq ($(ASTERISKVERSION),UNKNOWN__and_probably_unsupported)
- @sed -i "/^PROJECT_NUMBER/s/PROJECT_NUMBER.*/PROJECT_NUMBER = "$(ASTERISKVERSION)"/" contrib/asterisk-ng-doxygen
+ @echo "PROJECT_NUMBER = $(ASTERISKVERSION)" >> contrib/asterisk-ng-doxygen
else
echo "Asterisk Version is unknown, not configuring Doxygen PROJECT_NUMBER."
endif
More information about the svn-commits
mailing list