annotate Makefile.am @ 24700:91a021ffca9c

propagate from branch 'im.pidgin.pidgin' (head 3712dc87ef9c46da0dc5283a8d5a571d9a90d340) to branch 'im.pidgin.cpw.malu.xmpp.attention' (head d53e9d53435ff2dbc7db91129ed8ab158c1459e4)
author Marcus Lundblad <ml@update.uu.se>
date Mon, 20 Oct 2008 18:30:28 +0000
parents b8fd4f37f9b2
children 8643ff79db35
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15604
fb6e1429f948 make dist works now.
Luke Schierer <lschiere@pidgin.im>
parents: 15479
diff changeset
1 EXTRA_DIST = \
7960
0371ed7ed3ad [gaim-migrate @ 8637]
Nathan Walp <nwalp@pidgin.im>
parents: 7601
diff changeset
2 COPYRIGHT \
14506
da321e607209 [gaim-migrate @ 17226]
Mark Doliner <mark@kingant.net>
parents: 14455
diff changeset
3 ChangeLog.API \
da321e607209 [gaim-migrate @ 17226]
Mark Doliner <mark@kingant.net>
parents: 14455
diff changeset
4 ChangeLog.win32 \
6198
fcc28f5dd0c8 [gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6187
diff changeset
5 Doxyfile.in \
14506
da321e607209 [gaim-migrate @ 17226]
Mark Doliner <mark@kingant.net>
parents: 14455
diff changeset
6 HACKING \
da321e607209 [gaim-migrate @ 17226]
Mark Doliner <mark@kingant.net>
parents: 14455
diff changeset
7 Makefile.mingw \
da321e607209 [gaim-migrate @ 17226]
Mark Doliner <mark@kingant.net>
parents: 14455
diff changeset
8 PLUGIN_HOWTO \
16176
83ec0b408926 Beat some older documentation into submission.
Richard Laager <rlaager@wiktel.com>
parents: 16144
diff changeset
9 README.MTN \
14506
da321e607209 [gaim-migrate @ 17226]
Mark Doliner <mark@kingant.net>
parents: 14455
diff changeset
10 README.mingw \
15905
6f04fe174f40 Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents: 15888
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 \
9364
63f07fa577eb [gaim-migrate @ 10172]
Ethan Blanton <elb@pidgin.im>
parents: 9137
diff changeset
13 gaim.pc.in \
15885
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15818
diff changeset
14 gaim-uninstalled.pc.in \
13179
5adc0c9da9f3 [gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents: 12299
diff changeset
15 intltool-extract.in \
5adc0c9da9f3 [gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents: 12299
diff changeset
16 intltool-merge.in \
5adc0c9da9f3 [gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents: 12299
diff changeset
17 intltool-update.in \
15905
6f04fe174f40 Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents: 15888
diff changeset
18 pidgin.apspec.in \
6f04fe174f40 Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents: 15888
diff changeset
19 pidgin.spec.in \
6f04fe174f40 Change some stuff from gaim to pidgin
Mark Doliner <mark@kingant.net>
parents: 15888
diff changeset
20 pidgin.desktop.in \
16613
96b7bc5569aa The valgrind suppressions file would be useful to people developing from a
Richard Laager <rlaager@wiktel.com>
parents: 16547
diff changeset
21 po/Makefile.mingw \
96b7bc5569aa The valgrind suppressions file would be useful to people developing from a
Richard Laager <rlaager@wiktel.com>
parents: 16547
diff changeset
22 valgrind-suppressions
0
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
23
14652
5df3fc11f5a7 [gaim-migrate @ 17398]
Stu Tomlinson <stu@nosnilmot.com>
parents: 14537
diff changeset
24 noinst_HEADERS = config.h
9364
63f07fa577eb [gaim-migrate @ 10172]
Ethan Blanton <elb@pidgin.im>
parents: 9137
diff changeset
25
15885
c6e563dfaa7a More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents: 15818
diff changeset
26 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: 15818
diff changeset
27 cp pidgin.spec $(distdir)
14750
2a7700895952 [gaim-migrate @ 17507]
Daniel Atallah <daniel.atallah@gmail.com>
parents: 14652
diff changeset
28 rm $(distdir)/config.h
3449
8c6950b6eb82 [gaim-migrate @ 3493]
Christian Hammond <chipx86@chipx86.com>
parents: 3439
diff changeset
29
16660
9b47e29ba76c Step one of N for making 'make distcheck' happy. GtkUI.pm was renamed
Stu Tomlinson <stu@nosnilmot.com>
parents: 16613
diff changeset
30 distcheck-hook: libpurple/plugins/perl/common/Purple.pm pidgin/plugins/perl/common/Pidgin.pm
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents: 14794
diff changeset
31 # 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
32
23893
d64673562530 Verify monotone tag and workspace version on 'make packages'.
Ethan Blanton <elb@pidgin.im>
parents: 23892
diff changeset
33 version-check:
23896
6c8be58d0d04 Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents: 23894
diff changeset
34 # 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: 23894
diff changeset
35 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: 23894
diff changeset
36
24179
2f83c37c65e3 Move the NEWS check from automake's check-news to the version-check
Ethan Blanton <elb@pidgin.im>
parents: 24174
diff changeset
37 # Make sure there is a NEWS entry for this version
2f83c37c65e3 Move the NEWS check from automake's check-news to the version-check
Ethan Blanton <elb@pidgin.im>
parents: 24174
diff changeset
38 head NEWS | grep "^$(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" > /dev/null
2f83c37c65e3 Move the NEWS check from automake's check-news to the version-check
Ethan Blanton <elb@pidgin.im>
parents: 24174
diff changeset
39
23896
6c8be58d0d04 Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents: 23894
diff changeset
40 # Ensure NEWS has no spaces at the start of a line.
6c8be58d0d04 Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents: 23894
diff changeset
41 # Using spaces instead of tabs there is a common mistake.
6c8be58d0d04 Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents: 23894
diff changeset
42 test x`grep "^ " NEWS` = x
6c8be58d0d04 Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents: 23894
diff changeset
43
6c8be58d0d04 Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents: 23894
diff changeset
44 # 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: 23894
diff changeset
45 # ChangeLog.API.
6c8be58d0d04 Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents: 23894
diff changeset
46 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: 23894
diff changeset
47
6c8be58d0d04 Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents: 23894
diff changeset
48 # 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: 23894
diff changeset
49 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: 23894
diff changeset
50 head ChangeLog.win32 | grep "^version $(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" >/dev/null
24183
b8fd4f37f9b2 po/ChangeLog doesn't include dates
Stu Tomlinson <stu@nosnilmot.com>
parents: 24179
diff changeset
51 head po/ChangeLog | grep "^version $(PACKAGE_VERSION)$$" >/dev/null
23896
6c8be58d0d04 Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents: 23894
diff changeset
52
6c8be58d0d04 Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents: 23894
diff changeset
53 # Ensure we're working from a tag...
23893
d64673562530 Verify monotone tag and workspace version on 'make packages'.
Ethan Blanton <elb@pidgin.im>
parents: 23892
diff changeset
54 test x`mtn automate select t:v$(PACKAGE_VERSION)` = x`mtn automate get_base_revision_id`
23896
6c8be58d0d04 Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@wiktel.com>
parents: 23894
diff changeset
55 # ... and have no changes in the working copy.
23893
d64673562530 Verify monotone tag and workspace version on 'make packages'.
Ethan Blanton <elb@pidgin.im>
parents: 23892
diff changeset
56 test x`mtn diff | grep -v '^#'` = x
d64673562530 Verify monotone tag and workspace version on 'make packages'.
Ethan Blanton <elb@pidgin.im>
parents: 23892
diff changeset
57
24174
27556c2710e3 Run the (relatively quick) version check before the (painfully long)
Stu Tomlinson <stu@nosnilmot.com>
parents: 23896
diff changeset
58 release: version-check distcheck packages
23892
111b464f6845 Add release-time candy 'make release' and 'make packages' to the Makefile.
Ethan Blanton <elb@pidgin.im>
parents: 22565
diff changeset
59
24174
27556c2710e3 Run the (relatively quick) version check before the (painfully long)
Stu Tomlinson <stu@nosnilmot.com>
parents: 23896
diff changeset
60 packages:
23892
111b464f6845 Add release-time candy 'make release' and 'make packages' to the Makefile.
Ethan Blanton <elb@pidgin.im>
parents: 22565
diff changeset
61 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: 22565
diff changeset
62 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: 22565
diff changeset
63 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: 22565
diff changeset
64 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: 22565
diff changeset
65
21858
42cf060f1c76 Don't install pidgin.desktop when not installing Pidgin
Sean Egan <seanegan@gmail.com>
parents: 21805
diff changeset
66 if ENABLE_GTK
5253
2c9de5ae24a0 [gaim-migrate @ 5625]
Christian Hammond <chipx86@chipx86.com>
parents: 4564
diff changeset
67 appsdir = $(datadir)/applications
15479
d2a41819ba6a rename the .desktop file
Nathan Walp <nwalp@pidgin.im>
parents: 15401
diff changeset
68 apps_in_files = pidgin.desktop.in
13179
5adc0c9da9f3 [gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents: 12299
diff changeset
69 apps_DATA = $(apps_in_files:.desktop.in=.desktop)
5adc0c9da9f3 [gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents: 12299
diff changeset
70 @INTLTOOL_DESKTOP_RULE@
15374
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents: 14794
diff changeset
71 GTK_DIR=pidgin
14191
009db0b357b5 This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents: 13490
diff changeset
72 endif
009db0b357b5 This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents: 13490
diff changeset
73
009db0b357b5 This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents: 13490
diff changeset
74 if ENABLE_GNT
15818
0e3a8505ebbe renamed gaim-text to finch
Sean Egan <seanegan@gmail.com>
parents: 15752
diff changeset
75 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
76 endif
009db0b357b5 This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents: 13490
diff changeset
77
22565
0085d8b80bc4 For the few of us who wanted it, I bring back --disable-nls! It may not be
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 22383
diff changeset
78 if INSTALL_I18N
0085d8b80bc4 For the few of us who wanted it, I bring back --disable-nls! It may not be
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 22383
diff changeset
79 PO_DIR=po
0085d8b80bc4 For the few of us who wanted it, I bring back --disable-nls! It may not be
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 22383
diff changeset
80 endif
0085d8b80bc4 For the few of us who wanted it, I bring back --disable-nls! It may not be
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 22383
diff changeset
81
0085d8b80bc4 For the few of us who wanted it, I bring back --disable-nls! It may not be
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 22383
diff changeset
82 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
83
6596
dcb336f3d9a6 [gaim-migrate @ 7120]
Christian Hammond <chipx86@chipx86.com>
parents: 6411
diff changeset
84 docs: Doxyfile
10925
993db24dae16 [gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents: 10362
diff changeset
85 if HAVE_DOXYGEN
993db24dae16 [gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents: 10362
diff changeset
86 @echo "Running doxygen..."
4554
fbf9f873abfc [gaim-migrate @ 4834]
Christian Hammond <chipx86@chipx86.com>
parents: 3726
diff changeset
87 @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
88 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
89 @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
90 @xsltproc $(top_srcdir)/doxy2devhelp.xsl doc/xml/index.xml > doc/html/pidgin.devhelp
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
91 @echo "(Symlink doc/html to ~/.local/share/gtk-doc/html/pidgin to make devhelp see the documentation)"
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
92 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
93 @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
94 endif
10925
993db24dae16 [gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents: 10362
diff changeset
95 else
993db24dae16 [gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents: 10362
diff changeset
96 @echo "doxygen was not found during configure. Aborting."
993db24dae16 [gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents: 10362
diff changeset
97 @echo;
993db24dae16 [gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents: 10362
diff changeset
98 endif
11862
f8cd06753755 [gaim-migrate @ 14153]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11147
diff changeset
99
f8cd06753755 [gaim-migrate @ 14153]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11147
diff changeset
100 # perl's MakeMaker uninstall foo doesn't work well with DESTDIR set, which
f8cd06753755 [gaim-migrate @ 14153]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11147
diff changeset
101 # breaks "make distcheck" unless we ignore perl things
f8cd06753755 [gaim-migrate @ 14153]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11147
diff changeset
102
f8cd06753755 [gaim-migrate @ 14153]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11147
diff changeset
103 distuninstallcheck_listfiles = \
15888
8a2e7b406b4e One step towards passing "make distcheck"
Stu Tomlinson <stu@nosnilmot.com>
parents: 15885
diff changeset
104 find . -type f -print | grep -v perl | grep -v Purple.3pm
12299
d10050950c03 [gaim-migrate @ 14603]
Tim Ringenbach <marv@pidgin.im>
parents: 11883
diff changeset
105
15912
88d626a179a6 Rename our schemas file and update the url handler to point to the
Mark Doliner <mark@kingant.net>
parents: 15905
diff changeset
106 DISTCLEANFILES= pidgin.desktop libpurple/gconf/purple.schemas intltool-extract \
14769
61aa08fcd315 [gaim-migrate @ 17527]
Luke Schierer <lschiere@pidgin.im>
parents: 14764
diff changeset
107 intltool-merge intltool-update