]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
maint: mention when HACKING is rebuilt during make
authorEric Blake <eblake@redhat.com>
Thu, 6 Dec 2012 23:33:07 +0000 (16:33 -0700)
committerEric Blake <eblake@redhat.com>
Tue, 11 Dec 2012 20:35:33 +0000 (13:35 -0700)
I noticed that on Fedora 18, xlstproc decides to regenerate
HACKING with additional whitespace.  I haven't figured out why
that is happening (although fixing it would probably be a task
for xlstproc), but in the process of investigating, I noticed
that 'make HACKING' was completely silent, for no good reason.

* Makefile.am (gen-ChangeLog, gen-AUTHORS, NEWS)
($(top_srcdir)/HACKING): Mention which files we are generating.

Makefile.am

index 7b3a33517aca299db4568ae729df312f0db2a3c2..9556b429defb055d83ae9f46838309d367b8926a 100644 (file)
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
-## Copyright (C) 2005-2011 Red Hat, Inc.
+## Copyright (C) 2005-2012 Red Hat, Inc.
 ## See COPYING.LIB for the License of this software
 
 LCOV = lcov
@@ -35,20 +35,20 @@ pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = libvirt.pc
 
 NEWS: $(top_srcdir)/docs/news.xsl $(top_srcdir)/docs/news.html.in
-       -@(if [ -x $(XSLTPROC) ] ; then                         \
+       $(AM_V_GEN)if [ -x $(XSLTPROC) ] ; then                 \
          $(XSLTPROC) --nonet $(top_srcdir)/docs/news.xsl       \
             $(top_srcdir)/docs/news.html.in                    \
           | perl -0777 -pe 's/\n\n+$$/\n/'                     \
           | perl -pe 's/[ \t]+$$//'                            \
-          > $@-t && mv $@-t $@ ; fi );
+          > $@-t && mv $@-t $@ ; fi
 
 $(top_srcdir)/HACKING: $(top_srcdir)/docs/hacking1.xsl $(top_srcdir)/docs/hacking2.xsl \
                        $(top_srcdir)/docs/wrapstring.xsl $(top_srcdir)/docs/hacking.html.in
-       -@(if [ -x $(XSLTPROC) ] ; then \
+       $(AM_V_GEN)if [ -x $(XSLTPROC) ] ; then \
           $(XSLTPROC) --nonet $(top_srcdir)/docs/hacking1.xsl $(top_srcdir)/docs/hacking.html.in | \
           $(XSLTPROC) --nonet $(top_srcdir)/docs/hacking2.xsl - \
           | perl -0777 -pe 's/\n\n+$$/\n/' \
-          > $@-t && mv $@-t $@ ; fi );
+          > $@-t && mv $@-t $@ ; fi;
 
 rpm: clean
        @(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.gz)
@@ -86,7 +86,7 @@ dist-hook: gen-ChangeLog gen-AUTHORS
 gen_start_date = 2009-07-04
 .PHONY: gen-ChangeLog
 gen-ChangeLog:
-       if test -d .git; then                                   \
+       $(AM_V_GEN)if test -d .git; then                        \
          $(top_srcdir)/build-aux/gitlog-to-changelog           \
            --since=$(gen_start_date) > $(distdir)/cl-t;        \
          rm -f $(distdir)/ChangeLog;                           \
@@ -95,7 +95,7 @@ gen-ChangeLog:
 
 .PHONY: gen-AUTHORS
 gen-AUTHORS:
-       if test -d .git; then \
+       $(AM_V_GEN)if test -d .git; then \
            out="`git log --pretty=format:'%aN <%aE>' | sort -u`" && \
            cat $(srcdir)/AUTHORS.in | perl -p -e "s/#authorslist#/$$out/" > \
              $(distdir)/AUTHORS-tmp && \