Mercurial > pidgin.yaz
comparison Makefile.am @ 30909:25e200cb3532
propagate from branch 'im.pidgin.pidgin' (head dca20e09164518b0f7a773edd7e9649f41d8873d)
to branch 'im.pidgin.cpw.malu.xmpp.google_refactor' (head 7823c556f2d1bbca43f5ef9f0fea30cabc5d313f)
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Tue, 31 Aug 2010 18:28:10 +0000 |
parents | a14c2e81fcf0 |
children | a7cf3dbaba02 3b4e12c42d3c |
comparison
equal
deleted
inserted
replaced
30908:c44ec533a48c | 30909:25e200cb3532 |
---|---|
78 if ENABLE_GTK | 78 if ENABLE_GTK |
79 appsdir = $(datadir)/applications | 79 appsdir = $(datadir)/applications |
80 apps_in_files = pidgin.desktop.in | 80 apps_in_files = pidgin.desktop.in |
81 apps_DATA = $(apps_in_files:.desktop.in=.desktop) | 81 apps_DATA = $(apps_in_files:.desktop.in=.desktop) |
82 @INTLTOOL_DESKTOP_RULE@ | 82 @INTLTOOL_DESKTOP_RULE@ |
83 GTK_DIR=pidgin | |
84 endif #ENABLE_GTK | 83 endif #ENABLE_GTK |
85 | 84 |
86 endif #INSTALL_I18N | 85 endif #INSTALL_I18N |
86 | |
87 if ENABLE_GTK | |
88 GTK_DIR=pidgin | |
89 endif | |
87 | 90 |
88 if ENABLE_GNT | 91 if ENABLE_GNT |
89 GNT_DIR=finch | 92 GNT_DIR=finch |
90 endif | 93 endif |
91 | 94 |
95 .PHONY: package_revision_raw.txt | 98 .PHONY: package_revision_raw.txt |
96 # 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 > |
97 # creates, and also make sure that the shell command exits | 100 # creates, and also make sure that the shell command exits |
98 # successfully; the rm -f ensures both | 101 # successfully; the rm -f ensures both |
99 package_revision_raw.txt: | 102 package_revision_raw.txt: |
100 REAL_BLDDIR=$$PWD/$(top_builddir); \ | 103 $(AM_V_GEN)REAL_BLDDIR=$$PWD/$(top_builddir); \ |
101 (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 >$@ \ |
102 || (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 >$@ \ |
103 || rm -f $@ | 106 || rm -f $@ |
104 package_revision.h: package_revision_raw.txt | 107 package_revision.h: package_revision_raw.txt |
105 if test -f $<; then \ | 108 $(AM_V_GEN)if test -f $<; then \ |
106 echo "#define REVISION \"`cat $<`\"" > $@; \ | 109 echo "#define REVISION \"`cat $<`\"" > $@; \ |
107 fi | 110 fi |
108 if test ! -f $@ -a -f $(srcdir)/$@; then \ | 111 $(AM_V_at)if test ! -f $@ -a -f $(srcdir)/$@; then \ |
109 cp $(srcdir)/$@ $@; \ | 112 cp $(srcdir)/$@ $@; \ |
110 fi | 113 fi |
111 test -f $@ || echo "#define REVISION \"unknown\"" > $@ | 114 $(AM_V_at)test -f $@ || echo "#define REVISION \"unknown\"" > $@ |
112 | 115 |
113 # 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 |
114 # automake 1.9 manual, section 13.4, "Checking the distribution". | 117 # automake 1.9 manual, section 13.4, "Checking the distribution". |
115 # Normally, 'distcheck' does a clean build, and then afterwards runs | 118 # Normally, 'distcheck' does a clean build, and then afterwards runs |
116 # 'distclean', and 'distclean' is supposed to remove everything that | 119 # 'distclean', and 'distclean' is supposed to remove everything that |
131 @echo "Running doxygen..." | 134 @echo "Running doxygen..." |
132 @doxygen | 135 @doxygen |
133 if HAVE_XSLTPROC | 136 if HAVE_XSLTPROC |
134 @echo "Generating devhelp index..." | 137 @echo "Generating devhelp index..." |
135 @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 |
136 @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)" |
137 else | 140 else |
138 @echo "Not generating devhelp index: xsltproc was not found by configure" | 141 @echo "Not generating devhelp index: xsltproc was not found by configure" |
139 endif | 142 endif |
140 else | 143 else |
141 @echo "doxygen was not found during configure. Unable to build documentation." | 144 @echo "doxygen was not found during configure. Unable to build documentation." |