Mercurial > pidgin
annotate Makefile.am @ 30287:c2b3bfb2fe35
When setting an Avatar image via the Gallery bot, the MXit server pushes
a Get Extended Profile response to inform the client. The MXitId field in that
packet happens to be set to the user's MXitid and not empty so the libpurple
plugin assumes it was a request for a buddies profile information so a profile
popup is displayed.
We now check if the MXitId field is empty or if it matches the user's MxitId
(returned in the Login reponse).
author | andrew.victor@mxit.com |
---|---|
date | Mon, 19 Jul 2010 08:56:03 +0000 |
parents | a14c2e81fcf0 |
children | a7cf3dbaba02 3b4e12c42d3c |
rev | line source |
---|---|
15603 | 1 EXTRA_DIST = \ |
7960 | 2 COPYRIGHT \ |
14506 | 3 ChangeLog.API \ |
4 ChangeLog.win32 \ | |
6198
fcc28f5dd0c8
[gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6187
diff
changeset
|
5 Doxyfile.in \ |
14506 | 6 HACKING \ |
7 Makefile.mingw \ | |
8 PLUGIN_HOWTO \ | |
16176
83ec0b408926
Beat some older documentation into submission.
Richard Laager <rlaager@wiktel.com>
parents:
16144
diff
changeset
|
9 README.MTN \ |
14506 | 10 README.mingw \ |
15903
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
15887
diff
changeset
|
11 config.h.mingw \ |
21712
19ad2242c06d
bdheeman pointed out on IRC that doxy2devhelp.xsl is not in EXTRA_DIST; let's
Will Thompson <will.thompson@collabora.co.uk>
parents:
21330
diff
changeset
|
12 doxy2devhelp.xsl \ |
25826
d1a4088528ce
Add a script to change casts to GObject macros. We'll run this later.
Richard Laager <rlaager@wiktel.com>
parents:
24362
diff
changeset
|
13 fix-casts.sh \ |
9364 | 14 gaim.pc.in \ |
15884
c6e563dfaa7a
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents:
15817
diff
changeset
|
15 gaim-uninstalled.pc.in \ |
13179
5adc0c9da9f3
[gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents:
12299
diff
changeset
|
16 intltool-extract.in \ |
5adc0c9da9f3
[gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents:
12299
diff
changeset
|
17 intltool-merge.in \ |
5adc0c9da9f3
[gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents:
12299
diff
changeset
|
18 intltool-update.in \ |
27682
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
19 package_revision.h \ |
15903
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
15887
diff
changeset
|
20 pidgin.apspec.in \ |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
15887
diff
changeset
|
21 pidgin.spec.in \ |
6f04fe174f40
Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents:
15887
diff
changeset
|
22 pidgin.desktop.in \ |
16605
96b7bc5569aa
The valgrind suppressions file would be useful to people developing from a
Richard Laager <rlaager@wiktel.com>
parents:
16539
diff
changeset
|
23 po/Makefile.mingw \ |
96b7bc5569aa
The valgrind suppressions file would be useful to people developing from a
Richard Laager <rlaager@wiktel.com>
parents:
16539
diff
changeset
|
24 valgrind-suppressions |
0 | 25 |
27682
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
26 noinst_HEADERS = config.h package_revision.h |
9364 | 27 |
15884
c6e563dfaa7a
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents:
15817
diff
changeset
|
28 dist-hook: pidgin.spec |
c6e563dfaa7a
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents:
15817
diff
changeset
|
29 cp pidgin.spec $(distdir) |
14750
2a7700895952
[gaim-migrate @ 17507]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
14652
diff
changeset
|
30 rm $(distdir)/config.h |
3449
8c6950b6eb82
[gaim-migrate @ 3493]
Christian Hammond <chipx86@chipx86.com>
parents:
3439
diff
changeset
|
31 |
16652
9b47e29ba76c
Step one of N for making 'make distcheck' happy. GtkUI.pm was renamed
Stu Tomlinson <stu@nosnilmot.com>
parents:
16605
diff
changeset
|
32 distcheck-hook: libpurple/plugins/perl/common/Purple.pm pidgin/plugins/perl/common/Pidgin.pm |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
14794
diff
changeset
|
33 # cp libpurple/plugins/perl/common/Gaim.pm $(distdir)/libpurple/plugins/perl/common |
6701
b7e113a59b51
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6596
diff
changeset
|
34 |
24362
b31d2ca01b7a
applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@wiktel.com>
parents:
24304
diff
changeset
|
35 commit-check: |
b31d2ca01b7a
applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@wiktel.com>
parents:
24304
diff
changeset
|
36 (cd po ; intltool-update -m 2>&1 | grep -v '^mismatched quotes.*\.py$$' | sed "s|current directory|po directory|" | grep . ; if [ $$? = 0 ] ; then exit 1 ; else exit 0 ; fi) |
b31d2ca01b7a
applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@wiktel.com>
parents:
24304
diff
changeset
|
37 LC_ALL=C sort -c -t/ -u po/POTFILES.in |
b31d2ca01b7a
applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@wiktel.com>
parents:
24304
diff
changeset
|
38 LC_ALL=C sort -c -t/ -u po/POTFILES.skip |
24468
e5efa83aa6d2
Fix our COPYRIGHT file to be UTF-8 again and add a test to the commit-check
Richard Laager <rlaager@wiktel.com>
parents:
24362
diff
changeset
|
39 iconv -f utf8 -t utf8 COPYRIGHT | cmp COPYRIGHT - |
24362
b31d2ca01b7a
applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@wiktel.com>
parents:
24304
diff
changeset
|
40 |
b31d2ca01b7a
applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@wiktel.com>
parents:
24304
diff
changeset
|
41 version-check: commit-check |
23966
6c8be58d0d04
Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents:
23964
diff
changeset
|
42 # We don't want to release development versions. |
6c8be58d0d04
Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents:
23964
diff
changeset
|
43 test x`echo $(PACKAGE_VERSION) | grep dev` = x |
6c8be58d0d04
Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents:
23964
diff
changeset
|
44 |
24304
cb0aa91430bb
disapproval of revision '4f931125ffce24ace6bf298cc58d620c1a975aa1'
Stu Tomlinson <stu@nosnilmot.com>
parents:
24303
diff
changeset
|
45 # Make sure there is a NEWS entry for this version |
cb0aa91430bb
disapproval of revision '4f931125ffce24ace6bf298cc58d620c1a975aa1'
Stu Tomlinson <stu@nosnilmot.com>
parents:
24303
diff
changeset
|
46 head NEWS | grep "^$(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" > /dev/null |
cb0aa91430bb
disapproval of revision '4f931125ffce24ace6bf298cc58d620c1a975aa1'
Stu Tomlinson <stu@nosnilmot.com>
parents:
24303
diff
changeset
|
47 |
cb0aa91430bb
disapproval of revision '4f931125ffce24ace6bf298cc58d620c1a975aa1'
Stu Tomlinson <stu@nosnilmot.com>
parents:
24303
diff
changeset
|
48 # Ensure NEWS has no spaces at the start of a line. |
cb0aa91430bb
disapproval of revision '4f931125ffce24ace6bf298cc58d620c1a975aa1'
Stu Tomlinson <stu@nosnilmot.com>
parents:
24303
diff
changeset
|
49 # Using spaces instead of tabs there is a common mistake. |
cb0aa91430bb
disapproval of revision '4f931125ffce24ace6bf298cc58d620c1a975aa1'
Stu Tomlinson <stu@nosnilmot.com>
parents:
24303
diff
changeset
|
50 test x`grep "^ " NEWS` = x |
cb0aa91430bb
disapproval of revision '4f931125ffce24ace6bf298cc58d620c1a975aa1'
Stu Tomlinson <stu@nosnilmot.com>
parents:
24303
diff
changeset
|
51 |
23966
6c8be58d0d04
Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents:
23964
diff
changeset
|
52 # When doing a new minor (or major) release (X.Y.0), there must be a section in |
6c8be58d0d04
Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents:
23964
diff
changeset
|
53 # ChangeLog.API. |
6c8be58d0d04
Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents:
23964
diff
changeset
|
54 echo $(PACKAGE_VERSION) | grep -v "^[0-9]\+\.[0-9]\+\.0$$" >/dev/null || head ChangeLog.API | grep "^version $(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" >/dev/null |
6c8be58d0d04
Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents:
23964
diff
changeset
|
55 |
6c8be58d0d04
Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents:
23964
diff
changeset
|
56 # For all releases, check the ChangeLogs. |
6c8be58d0d04
Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents:
23964
diff
changeset
|
57 head ChangeLog | grep "^version $(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" >/dev/null |
6c8be58d0d04
Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents:
23964
diff
changeset
|
58 head ChangeLog.win32 | grep "^version $(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" >/dev/null |
24244
b8fd4f37f9b2
po/ChangeLog doesn't include dates
Stu Tomlinson <stu@nosnilmot.com>
parents:
24240
diff
changeset
|
59 head po/ChangeLog | grep "^version $(PACKAGE_VERSION)$$" >/dev/null |
23966
6c8be58d0d04
Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents:
23964
diff
changeset
|
60 |
6c8be58d0d04
Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents:
23964
diff
changeset
|
61 # Ensure we're working from a tag... |
23963
d64673562530
Verify monotone tag and workspace version on 'make packages'.
Ethan Blanton <elb@pidgin.im>
parents:
23962
diff
changeset
|
62 test x`mtn automate select t:v$(PACKAGE_VERSION)` = x`mtn automate get_base_revision_id` |
23966
6c8be58d0d04
Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents:
23964
diff
changeset
|
63 # ... and have no changes in the working copy. |
24547
d9810e369601
Fix an unintended error in version-check when you have uncommitted changes.
Richard Laager <rlaager@wiktel.com>
parents:
24468
diff
changeset
|
64 test "x`mtn diff | grep -v '^#'`" = x |
23963
d64673562530
Verify monotone tag and workspace version on 'make packages'.
Ethan Blanton <elb@pidgin.im>
parents:
23962
diff
changeset
|
65 |
24235
27556c2710e3
Run the (relatively quick) version check before the (painfully long)
Stu Tomlinson <stu@nosnilmot.com>
parents:
23966
diff
changeset
|
66 release: version-check distcheck packages |
23962
111b464f6845
Add release-time candy 'make release' and 'make packages' to the Makefile.
Ethan Blanton <elb@pidgin.im>
parents:
22582
diff
changeset
|
67 |
24235
27556c2710e3
Run the (relatively quick) version check before the (painfully long)
Stu Tomlinson <stu@nosnilmot.com>
parents:
23966
diff
changeset
|
68 packages: |
23962
111b464f6845
Add release-time candy 'make release' and 'make packages' to the Makefile.
Ethan Blanton <elb@pidgin.im>
parents:
22582
diff
changeset
|
69 gpg -ab pidgin-$(PACKAGE_VERSION).tar.gz |
111b464f6845
Add release-time candy 'make release' and 'make packages' to the Makefile.
Ethan Blanton <elb@pidgin.im>
parents:
22582
diff
changeset
|
70 gpg -ab pidgin-$(PACKAGE_VERSION).tar.bz2 |
111b464f6845
Add release-time candy 'make release' and 'make packages' to the Makefile.
Ethan Blanton <elb@pidgin.im>
parents:
22582
diff
changeset
|
71 gpg --verify pidgin-$(PACKAGE_VERSION).tar.gz.asc pidgin-$(PACKAGE_VERSION).tar.gz |
111b464f6845
Add release-time candy 'make release' and 'make packages' to the Makefile.
Ethan Blanton <elb@pidgin.im>
parents:
22582
diff
changeset
|
72 gpg --verify pidgin-$(PACKAGE_VERSION).tar.bz2.asc pidgin-$(PACKAGE_VERSION).tar.bz2 |
111b464f6845
Add release-time candy 'make release' and 'make packages' to the Makefile.
Ethan Blanton <elb@pidgin.im>
parents:
22582
diff
changeset
|
73 |
29620
f7d03842b9c9
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28175
diff
changeset
|
74 if INSTALL_I18N |
f7d03842b9c9
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28175
diff
changeset
|
75 PO_DIR=po |
f7d03842b9c9
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28175
diff
changeset
|
76 DESKTOP_FILE=pidgin.desktop |
f7d03842b9c9
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28175
diff
changeset
|
77 |
21858
42cf060f1c76
Don't install pidgin.desktop when not installing Pidgin
Sean Egan <seanegan@gmail.com>
parents:
21805
diff
changeset
|
78 if ENABLE_GTK |
5253
2c9de5ae24a0
[gaim-migrate @ 5625]
Christian Hammond <chipx86@chipx86.com>
parents:
4564
diff
changeset
|
79 appsdir = $(datadir)/applications |
29978
3409f6235155
This wasn't supposed to be committed
Daniel Atallah <daniel.atallah@gmail.com>
parents:
29976
diff
changeset
|
80 apps_in_files = pidgin.desktop.in |
13179
5adc0c9da9f3
[gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents:
12299
diff
changeset
|
81 apps_DATA = $(apps_in_files:.desktop.in=.desktop) |
5adc0c9da9f3
[gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents:
12299
diff
changeset
|
82 @INTLTOOL_DESKTOP_RULE@ |
29620
f7d03842b9c9
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28175
diff
changeset
|
83 endif #ENABLE_GTK |
f7d03842b9c9
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28175
diff
changeset
|
84 |
f7d03842b9c9
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28175
diff
changeset
|
85 endif #INSTALL_I18N |
14191
009db0b357b5
This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents:
13490
diff
changeset
|
86 |
30087
a4527d9ee853
Make Pidgin build correctly when using the --disable-nls configure flag.
jirka
parents:
29978
diff
changeset
|
87 if ENABLE_GTK |
a4527d9ee853
Make Pidgin build correctly when using the --disable-nls configure flag.
jirka
parents:
29978
diff
changeset
|
88 GTK_DIR=pidgin |
a4527d9ee853
Make Pidgin build correctly when using the --disable-nls configure flag.
jirka
parents:
29978
diff
changeset
|
89 endif |
a4527d9ee853
Make Pidgin build correctly when using the --disable-nls configure flag.
jirka
parents:
29978
diff
changeset
|
90 |
14191
009db0b357b5
This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents:
13490
diff
changeset
|
91 if ENABLE_GNT |
15817
0e3a8505ebbe
renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents:
15751
diff
changeset
|
92 GNT_DIR=finch |
14191
009db0b357b5
This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents:
13490
diff
changeset
|
93 endif |
009db0b357b5
This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents:
13490
diff
changeset
|
94 |
27682
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
95 # This is phony, so that we always try to rebuild it. If it succeeds |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
96 # in calculating changes, it produces its target; otherwise, its |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
97 # target does not exist. |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
98 .PHONY: package_revision_raw.txt |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
99 # if both attempts fail, then we need to remove the empty file that > |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
100 # creates, and also make sure that the shell command exits |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
101 # successfully; the rm -f ensures both |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
102 package_revision_raw.txt: |
30237
a14c2e81fcf0
Enable silent build rules. You can disable them using the configure
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30163
diff
changeset
|
103 $(AM_V_GEN)REAL_BLDDIR=$$PWD/$(top_builddir); \ |
27682
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
104 (cd $(srcdir) && $$REAL_BLDDIR/mtn --root=. automate get_base_revision_id) 2>/dev/null >$@ \ |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
105 || (cd $(srcdir) && mtn --root=. automate get_base_revision_id) 2>/dev/null >$@ \ |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
106 || rm -f $@ |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
107 package_revision.h: package_revision_raw.txt |
30237
a14c2e81fcf0
Enable silent build rules. You can disable them using the configure
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30163
diff
changeset
|
108 $(AM_V_GEN)if test -f $<; then \ |
28175
558ce0b09e0e
Make Makefile.am a bit more portable
Ethan Blanton <elb@pidgin.im>
parents:
27682
diff
changeset
|
109 echo "#define REVISION \"`cat $<`\"" > $@; \ |
27682
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
110 fi |
30237
a14c2e81fcf0
Enable silent build rules. You can disable them using the configure
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30163
diff
changeset
|
111 $(AM_V_at)if test ! -f $@ -a -f $(srcdir)/$@; then \ |
27682
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
112 cp $(srcdir)/$@ $@; \ |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
113 fi |
30237
a14c2e81fcf0
Enable silent build rules. You can disable them using the configure
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30163
diff
changeset
|
114 $(AM_V_at)test -f $@ || echo "#define REVISION \"unknown\"" > $@ |
27682
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
115 |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
116 # This is a magic directive copy-and-pasted, then modified, from the |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
117 # automake 1.9 manual, section 13.4, "Checking the distribution". |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
118 # Normally, 'distcheck' does a clean build, and then afterwards runs |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
119 # 'distclean', and 'distclean' is supposed to remove everything that |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
120 # the build created. However, we have some targets (package_revision.txt) |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
121 # that we distribute, but then always attempt to rebuild optimistically, and |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
122 # then if that fails fall back on the distributed versions. This |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
123 # means that 'distclean' should _not_ remove those files, since they |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
124 # are distributed, yet building the package will generate those files, |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
125 # thus automake thinks that 'distclean' _should_ remove those files, |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
126 # and 'distcheck' gets cranky if we don't. So basically what this |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
127 # line does is tell 'distcheck' to shut up and ignore those two files. |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
128 distcleancheck_listfiles = find . -type f -a ! -name package_revision.h |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
129 |
cc8f641d2fde
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25947
diff
changeset
|
130 SUBDIRS = . libpurple doc $(GNT_DIR) $(GTK_DIR) m4macros $(PO_DIR) share/ca-certs share/sounds |
4554
fbf9f873abfc
[gaim-migrate @ 4834]
Christian Hammond <chipx86@chipx86.com>
parents:
3726
diff
changeset
|
131 |
6596
dcb336f3d9a6
[gaim-migrate @ 7120]
Christian Hammond <chipx86@chipx86.com>
parents:
6411
diff
changeset
|
132 docs: Doxyfile |
10925
993db24dae16
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10362
diff
changeset
|
133 if HAVE_DOXYGEN |
993db24dae16
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10362
diff
changeset
|
134 @echo "Running doxygen..." |
4554
fbf9f873abfc
[gaim-migrate @ 4834]
Christian Hammond <chipx86@chipx86.com>
parents:
3726
diff
changeset
|
135 @doxygen |
20912
f34539eb7a61
Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <will.thompson@collabora.co.uk>
parents:
19115
diff
changeset
|
136 if HAVE_XSLTPROC |
f34539eb7a61
Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <will.thompson@collabora.co.uk>
parents:
19115
diff
changeset
|
137 @echo "Generating devhelp index..." |
21805
1ba8e97ca24c
Ari noticed that `make docs` no longer functions properly when the build
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
21712
diff
changeset
|
138 @xsltproc $(top_srcdir)/doxy2devhelp.xsl doc/xml/index.xml > doc/html/pidgin.devhelp |
30163
ed909ccaeb36
Make the advice for symlink-ing devhelp docs more explicit to reduce the
Stu Tomlinson <stu@nosnilmot.com>
parents:
30087
diff
changeset
|
139 @echo "(Symlink $$(pwd)/doc/html to ~/.local/share/gtk-doc/html/pidgin to make devhelp see the documentation)" |
20912
f34539eb7a61
Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <will.thompson@collabora.co.uk>
parents:
19115
diff
changeset
|
140 else |
f34539eb7a61
Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <will.thompson@collabora.co.uk>
parents:
19115
diff
changeset
|
141 @echo "Not generating devhelp index: xsltproc was not found by configure" |
f34539eb7a61
Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <will.thompson@collabora.co.uk>
parents:
19115
diff
changeset
|
142 endif |
10925
993db24dae16
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10362
diff
changeset
|
143 else |
25446
e0a6a829df87
I like this message better.
Etan Reisner <pidgin@unreliablesource.net>
parents:
24547
diff
changeset
|
144 @echo "doxygen was not found during configure. Unable to build documentation." |
10925
993db24dae16
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10362
diff
changeset
|
145 @echo; |
993db24dae16
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10362
diff
changeset
|
146 endif |
11862 | 147 |
148 # perl's MakeMaker uninstall foo doesn't work well with DESTDIR set, which | |
149 # breaks "make distcheck" unless we ignore perl things | |
150 | |
151 distuninstallcheck_listfiles = \ | |
15887
8a2e7b406b4e
One step towards passing "make distcheck"
Stu Tomlinson <stu@nosnilmot.com>
parents:
15884
diff
changeset
|
152 find . -type f -print | grep -v perl | grep -v Purple.3pm |
12299 | 153 |
29620
f7d03842b9c9
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28175
diff
changeset
|
154 DISTCLEANFILES= $(DESKTOP_FILE) libpurple/gconf/purple.schemas intltool-extract \ |
14769
61aa08fcd315
[gaim-migrate @ 17527]
Luke Schierer <lschiere@pidgin.im>
parents:
14764
diff
changeset
|
155 intltool-merge intltool-update |