]> xenbits.xensource.com Git - libvirt.git/commitdiff
mac os x: use awk selected by build system rather than first in path
authorJustin Clift <jclift@redhat.com>
Tue, 28 Sep 2010 13:28:23 +0000 (23:28 +1000)
committerJustin Clift <jclift@redhat.com>
Tue, 28 Sep 2010 16:14:51 +0000 (02:14 +1000)
Prior to this patch, the ChangeLog generation was hard coded to use
"awk", when it should have been using the AWK variable set by our
build system.

This breaks compilation on a newly installed OS X system, where the
default path has the Mac (non GNU) awk in the default search PATH
before any installed GNU awk (gawk).

docs/Makefile.am

index 114ea1f5462bf18298071a281e8b688ca71826c1..7fae40db83f62427f23cdf6407888a7ef18330b5 100644 (file)
@@ -88,7 +88,7 @@ api: libvirt-api.xml libvirt-refs.xml
 web: $(dot_html) html/index.html devhelp/index.html
 
 ChangeLog.xml: ../ChangeLog ChangeLog.awk
-       awk -f ChangeLog.awk < $< > $@
+       $(AWK) -f ChangeLog.awk < $< > $@
 
 ChangeLog.html.in: ChangeLog.xml ChangeLog.xsl
        @if [ -x $(XSLTPROC) ] ; then \