Mercurial > pidgin.yaz
comparison Makefile.am @ 30837:8e9b04071e79
propagate from branch 'im.pidgin.pidgin' (head 9166d0ffe82472b17cee09aabbef61d8ec6e3e44)
to branch 'im.pidgin.soc.2010.icq-tlc' (head 4c9bb4231e46e234d01e6dc64bf4be49fb12c27c)
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 12 Aug 2010 15:30:11 +0000 |
parents | a14c2e81fcf0 |
children | a7cf3dbaba02 3b4e12c42d3c |
comparison
equal
deleted
inserted
replaced
30836:a4d7d154d00d | 30837:8e9b04071e79 |
---|---|
98 .PHONY: package_revision_raw.txt | 98 .PHONY: package_revision_raw.txt |
99 # if both attempts fail, then we need to remove the empty file that > | 99 # if both attempts fail, then we need to remove the empty file that > |
100 # creates, and also make sure that the shell command exits | 100 # creates, and also make sure that the shell command exits |
101 # successfully; the rm -f ensures both | 101 # successfully; the rm -f ensures both |
102 package_revision_raw.txt: | 102 package_revision_raw.txt: |
103 REAL_BLDDIR=$$PWD/$(top_builddir); \ | 103 $(AM_V_GEN)REAL_BLDDIR=$$PWD/$(top_builddir); \ |
104 (cd $(srcdir) && $$REAL_BLDDIR/mtn --root=. automate get_base_revision_id) 2>/dev/null >$@ \ | 104 (cd $(srcdir) && $$REAL_BLDDIR/mtn --root=. automate get_base_revision_id) 2>/dev/null >$@ \ |
105 || (cd $(srcdir) && mtn --root=. automate get_base_revision_id) 2>/dev/null >$@ \ | 105 || (cd $(srcdir) && mtn --root=. automate get_base_revision_id) 2>/dev/null >$@ \ |
106 || rm -f $@ | 106 || rm -f $@ |
107 package_revision.h: package_revision_raw.txt | 107 package_revision.h: package_revision_raw.txt |
108 if test -f $<; then \ | 108 $(AM_V_GEN)if test -f $<; then \ |
109 echo "#define REVISION \"`cat $<`\"" > $@; \ | 109 echo "#define REVISION \"`cat $<`\"" > $@; \ |
110 fi | 110 fi |
111 if test ! -f $@ -a -f $(srcdir)/$@; then \ | 111 $(AM_V_at)if test ! -f $@ -a -f $(srcdir)/$@; then \ |
112 cp $(srcdir)/$@ $@; \ | 112 cp $(srcdir)/$@ $@; \ |
113 fi | 113 fi |
114 test -f $@ || echo "#define REVISION \"unknown\"" > $@ | 114 $(AM_V_at)test -f $@ || echo "#define REVISION \"unknown\"" > $@ |
115 | 115 |
116 # This is a magic directive copy-and-pasted, then modified, from the | 116 # This is a magic directive copy-and-pasted, then modified, from the |
117 # automake 1.9 manual, section 13.4, "Checking the distribution". | 117 # automake 1.9 manual, section 13.4, "Checking the distribution". |
118 # Normally, 'distcheck' does a clean build, and then afterwards runs | 118 # Normally, 'distcheck' does a clean build, and then afterwards runs |
119 # 'distclean', and 'distclean' is supposed to remove everything that | 119 # 'distclean', and 'distclean' is supposed to remove everything that |
134 @echo "Running doxygen..." | 134 @echo "Running doxygen..." |
135 @doxygen | 135 @doxygen |
136 if HAVE_XSLTPROC | 136 if HAVE_XSLTPROC |
137 @echo "Generating devhelp index..." | 137 @echo "Generating devhelp index..." |
138 @xsltproc $(top_srcdir)/doxy2devhelp.xsl doc/xml/index.xml > doc/html/pidgin.devhelp | 138 @xsltproc $(top_srcdir)/doxy2devhelp.xsl doc/xml/index.xml > doc/html/pidgin.devhelp |
139 @echo "(Symlink doc/html to ~/.local/share/gtk-doc/html/pidgin to make devhelp see the documentation)" | 139 @echo "(Symlink $$(pwd)/doc/html to ~/.local/share/gtk-doc/html/pidgin to make devhelp see the documentation)" |
140 else | 140 else |
141 @echo "Not generating devhelp index: xsltproc was not found by configure" | 141 @echo "Not generating devhelp index: xsltproc was not found by configure" |
142 endif | 142 endif |
143 else | 143 else |
144 @echo "doxygen was not found during configure. Unable to build documentation." | 144 @echo "doxygen was not found during configure. Unable to build documentation." |