Makefile.am

Thu, 04 Jun 2009 01:51:41 +0000

author
Paul Aurich <darkrain42@pidgin.im>
date
Thu, 04 Jun 2009 01:51:41 +0000
changeset 27245
34b893abb0d3
parent 25911
f22097dc8413
child 27945
93ece0c6a9ad
permissions
-rw-r--r--

Fix an issue with the server responding with jid/node items as first-level children and add a TODO.

That bug was revealed by ejabberd returning the ad-hoc commands
(with no way to identify them as such) as children of the domain.

15665
950062fe0d40 make dist works now.
Luke Schierer <lschiere@pidgin.im>
parents: 15538
diff changeset
1 EXTRA_DIST = \
7960
614c56892fa5 [gaim-migrate @ 8637]
Nathan Walp <nwalp@pidgin.im>
parents: 7601
diff changeset
2 COPYRIGHT \
14568
98b24917a5b5 [gaim-migrate @ 17226]
Mark Doliner <markdoliner@pidgin.im>
parents: 14517
diff changeset
3 ChangeLog.API \
98b24917a5b5 [gaim-migrate @ 17226]
Mark Doliner <markdoliner@pidgin.im>
parents: 14517
diff changeset
4 ChangeLog.win32 \
6198
8be5d3e84233 [gaim-migrate @ 6684]
Herman Bloggs <herman@bluedigits.com>
parents: 6187
diff changeset
5 Doxyfile.in \
14568
98b24917a5b5 [gaim-migrate @ 17226]
Mark Doliner <markdoliner@pidgin.im>
parents: 14517
diff changeset
6 HACKING \
98b24917a5b5 [gaim-migrate @ 17226]
Mark Doliner <markdoliner@pidgin.im>
parents: 14517
diff changeset
7 Makefile.mingw \
98b24917a5b5 [gaim-migrate @ 17226]
Mark Doliner <markdoliner@pidgin.im>
parents: 14517
diff changeset
8 PLUGIN_HOWTO \
16237
606a402fea87 Beat some older documentation into submission.
Richard Laager <rlaager@pidgin.im>
parents: 16206
diff changeset
9 README.MTN \
14568
98b24917a5b5 [gaim-migrate @ 17226]
Mark Doliner <markdoliner@pidgin.im>
parents: 14517
diff changeset
10 README.mingw \
15966
cf2b67eaa153 Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents: 15949
diff changeset
11 config.h.mingw \
21726
8c64499910a3 applied changes from 654b8e10e1c4bc9cb97ac7fe2d159149a695a928
Will Thompson <resiak@pidgin.im>
parents: 21495
diff changeset
12 doxy2devhelp.xsl \
24973
d021d316a53d Add a script to change casts to GObject macros. We'll run this later.
Richard Laager <rlaager@pidgin.im>
parents: 24582
diff changeset
13 fix-casts.sh \
9364
6d800038ed6c [gaim-migrate @ 10172]
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 9137
diff changeset
14 gaim.pc.in \
15946
d40e8847e825 More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15878
diff changeset
15 gaim-uninstalled.pc.in \
13180
4cce5a554f53 [gaim-migrate @ 15542]
Richard Laager <rlaager@pidgin.im>
parents: 12299
diff changeset
16 intltool-extract.in \
4cce5a554f53 [gaim-migrate @ 15542]
Richard Laager <rlaager@pidgin.im>
parents: 12299
diff changeset
17 intltool-merge.in \
4cce5a554f53 [gaim-migrate @ 15542]
Richard Laager <rlaager@pidgin.im>
parents: 12299
diff changeset
18 intltool-update.in \
15966
cf2b67eaa153 Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents: 15949
diff changeset
19 pidgin.apspec.in \
cf2b67eaa153 Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents: 15949
diff changeset
20 pidgin.spec.in \
cf2b67eaa153 Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents: 15949
diff changeset
21 pidgin.desktop.in \
16671
b674ee610d47 The valgrind suppressions file would be useful to people developing from a
Richard Laager <rlaager@pidgin.im>
parents: 16608
diff changeset
22 po/Makefile.mingw \
b674ee610d47 The valgrind suppressions file would be useful to people developing from a
Richard Laager <rlaager@pidgin.im>
parents: 16608
diff changeset
23 valgrind-suppressions
0
7b1da07f853f [gaim-migrate @ 9]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
24
14714
0b2f4825f2dc [gaim-migrate @ 17398]
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 14599
diff changeset
25 noinst_HEADERS = config.h
9364
6d800038ed6c [gaim-migrate @ 10172]
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 9137
diff changeset
26
15946
d40e8847e825 More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15878
diff changeset
27 dist-hook: pidgin.spec
d40e8847e825 More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15878
diff changeset
28 cp pidgin.spec $(distdir)
14812
19bc309acce1 [gaim-migrate @ 17507]
Daniel Atallah <datallah@pidgin.im>
parents: 14714
diff changeset
29 rm $(distdir)/config.h
3449
4a91c7f019d5 [gaim-migrate @ 3493]
Christian Hammond <chipx86@chipx86.com>
parents: 3439
diff changeset
30
16721
1029de4b36e8 Step one of N for making 'make distcheck' happy. GtkUI.pm was renamed
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 16671
diff changeset
31 distcheck-hook: libpurple/plugins/perl/common/Purple.pm pidgin/plugins/perl/common/Pidgin.pm
15435
4b933b06d75e Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents: 14856
diff changeset
32 # cp libpurple/plugins/perl/common/Gaim.pm $(distdir)/libpurple/plugins/perl/common
6701
7e2db9273748 [gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents: 6596
diff changeset
33
24582
fbcdf75b7195 applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents: 24525
diff changeset
34 commit-check:
fbcdf75b7195 applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents: 24525
diff changeset
35 (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)
fbcdf75b7195 applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents: 24525
diff changeset
36 LC_ALL=C sort -c -t/ -u po/POTFILES.in
fbcdf75b7195 applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents: 24525
diff changeset
37 LC_ALL=C sort -c -t/ -u po/POTFILES.skip
24700
8ed981baeb92 Fix our COPYRIGHT file to be UTF-8 again and add a test to the commit-check
Richard Laager <rlaager@pidgin.im>
parents: 24582
diff changeset
38 iconv -f utf8 -t utf8 COPYRIGHT | cmp COPYRIGHT -
24582
fbcdf75b7195 applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents: 24525
diff changeset
39
fbcdf75b7195 applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents: 24525
diff changeset
40 version-check: commit-check
24162
5bf6f22d213c Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@pidgin.im>
parents: 24160
diff changeset
41 # We don't want to release development versions.
5bf6f22d213c Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@pidgin.im>
parents: 24160
diff changeset
42 test x`echo $(PACKAGE_VERSION) | grep dev` = x
5bf6f22d213c Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@pidgin.im>
parents: 24160
diff changeset
43
24525
fd63a55e8c27 disapproval of revision 'ff8b50f6e7cbd8635c3e9f6bac789daeeb343d04'
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 24521
diff changeset
44 # Make sure there is a NEWS entry for this version
fd63a55e8c27 disapproval of revision 'ff8b50f6e7cbd8635c3e9f6bac789daeeb343d04'
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 24521
diff changeset
45 head NEWS | grep "^$(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" > /dev/null
fd63a55e8c27 disapproval of revision 'ff8b50f6e7cbd8635c3e9f6bac789daeeb343d04'
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 24521
diff changeset
46
fd63a55e8c27 disapproval of revision 'ff8b50f6e7cbd8635c3e9f6bac789daeeb343d04'
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 24521
diff changeset
47 # Ensure NEWS has no spaces at the start of a line.
fd63a55e8c27 disapproval of revision 'ff8b50f6e7cbd8635c3e9f6bac789daeeb343d04'
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 24521
diff changeset
48 # Using spaces instead of tabs there is a common mistake.
fd63a55e8c27 disapproval of revision 'ff8b50f6e7cbd8635c3e9f6bac789daeeb343d04'
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 24521
diff changeset
49 test x`grep "^ " NEWS` = x
fd63a55e8c27 disapproval of revision 'ff8b50f6e7cbd8635c3e9f6bac789daeeb343d04'
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 24521
diff changeset
50
24162
5bf6f22d213c Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@pidgin.im>
parents: 24160
diff changeset
51 # When doing a new minor (or major) release (X.Y.0), there must be a section in
5bf6f22d213c Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@pidgin.im>
parents: 24160
diff changeset
52 # ChangeLog.API.
5bf6f22d213c Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@pidgin.im>
parents: 24160
diff changeset
53 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
5bf6f22d213c Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@pidgin.im>
parents: 24160
diff changeset
54
5bf6f22d213c Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@pidgin.im>
parents: 24160
diff changeset
55 # For all releases, check the ChangeLogs.
5bf6f22d213c Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@pidgin.im>
parents: 24160
diff changeset
56 head ChangeLog | grep "^version $(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" >/dev/null
5bf6f22d213c Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@pidgin.im>
parents: 24160
diff changeset
57 head ChangeLog.win32 | grep "^version $(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" >/dev/null
24465
0fcdc2735014 po/ChangeLog doesn't include dates
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 24460
diff changeset
58 head po/ChangeLog | grep "^version $(PACKAGE_VERSION)$$" >/dev/null
24162
5bf6f22d213c Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@pidgin.im>
parents: 24160
diff changeset
59
5bf6f22d213c Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@pidgin.im>
parents: 24160
diff changeset
60 # Ensure we're working from a tag...
24159
a2e69221bd14 Verify monotone tag and workspace version on 'make packages'.
Ethan Blanton <elb@pidgin.im>
parents: 24158
diff changeset
61 test x`mtn automate select t:v$(PACKAGE_VERSION)` = x`mtn automate get_base_revision_id`
24162
5bf6f22d213c Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@pidgin.im>
parents: 24160
diff changeset
62 # ... and have no changes in the working copy.
24811
19c97edbbdbd Fix an unintended error in version-check when you have uncommitted changes.
Richard Laager <rlaager@pidgin.im>
parents: 24700
diff changeset
63 test "x`mtn diff | grep -v '^#'`" = x
24159
a2e69221bd14 Verify monotone tag and workspace version on 'make packages'.
Ethan Blanton <elb@pidgin.im>
parents: 24158
diff changeset
64
24454
829b5b31b312 Run the (relatively quick) version check before the (painfully long)
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 24162
diff changeset
65 release: version-check distcheck packages
24158
9af58ab23276 Add release-time candy 'make release' and 'make packages' to the Makefile.
Ethan Blanton <elb@pidgin.im>
parents: 22723
diff changeset
66
24454
829b5b31b312 Run the (relatively quick) version check before the (painfully long)
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 24162
diff changeset
67 packages:
24158
9af58ab23276 Add release-time candy 'make release' and 'make packages' to the Makefile.
Ethan Blanton <elb@pidgin.im>
parents: 22723
diff changeset
68 gpg -ab pidgin-$(PACKAGE_VERSION).tar.gz
9af58ab23276 Add release-time candy 'make release' and 'make packages' to the Makefile.
Ethan Blanton <elb@pidgin.im>
parents: 22723
diff changeset
69 gpg -ab pidgin-$(PACKAGE_VERSION).tar.bz2
9af58ab23276 Add release-time candy 'make release' and 'make packages' to the Makefile.
Ethan Blanton <elb@pidgin.im>
parents: 22723
diff changeset
70 gpg --verify pidgin-$(PACKAGE_VERSION).tar.gz.asc pidgin-$(PACKAGE_VERSION).tar.gz
9af58ab23276 Add release-time candy 'make release' and 'make packages' to the Makefile.
Ethan Blanton <elb@pidgin.im>
parents: 22723
diff changeset
71 gpg --verify pidgin-$(PACKAGE_VERSION).tar.bz2.asc pidgin-$(PACKAGE_VERSION).tar.bz2
9af58ab23276 Add release-time candy 'make release' and 'make packages' to the Makefile.
Ethan Blanton <elb@pidgin.im>
parents: 22723
diff changeset
72
21973
6989d49da5d2 Don't install pidgin.desktop when not installing Pidgin
Sean Egan <seanegan@pidgin.im>
parents: 21922
diff changeset
73 if ENABLE_GTK
5253
17806e81375c [gaim-migrate @ 5625]
Christian Hammond <chipx86@chipx86.com>
parents: 4564
diff changeset
74 appsdir = $(datadir)/applications
15538
ae12124b524a rename the .desktop file
Nathan Walp <nwalp@pidgin.im>
parents: 15462
diff changeset
75 apps_in_files = pidgin.desktop.in
13180
4cce5a554f53 [gaim-migrate @ 15542]
Richard Laager <rlaager@pidgin.im>
parents: 12299
diff changeset
76 apps_DATA = $(apps_in_files:.desktop.in=.desktop)
4cce5a554f53 [gaim-migrate @ 15542]
Richard Laager <rlaager@pidgin.im>
parents: 12299
diff changeset
77 @INTLTOOL_DESKTOP_RULE@
15435
4b933b06d75e Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents: 14856
diff changeset
78 GTK_DIR=pidgin
14253
b63ebf84c42b This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents: 13491
diff changeset
79 endif
b63ebf84c42b This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents: 13491
diff changeset
80
b63ebf84c42b This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents: 13491
diff changeset
81 if ENABLE_GNT
15878
f52832b611fe renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents: 15805
diff changeset
82 GNT_DIR=finch
14253
b63ebf84c42b This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents: 13491
diff changeset
83 endif
b63ebf84c42b This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents: 13491
diff changeset
84
22723
134bf06fdb6d For the few of us who wanted it, I bring back --disable-nls! It may not be
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 22529
diff changeset
85 if INSTALL_I18N
134bf06fdb6d For the few of us who wanted it, I bring back --disable-nls! It may not be
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 22529
diff changeset
86 PO_DIR=po
134bf06fdb6d For the few of us who wanted it, I bring back --disable-nls! It may not be
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 22529
diff changeset
87 endif
134bf06fdb6d For the few of us who wanted it, I bring back --disable-nls! It may not be
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 22529
diff changeset
88
134bf06fdb6d For the few of us who wanted it, I bring back --disable-nls! It may not be
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 22529
diff changeset
89 SUBDIRS = libpurple doc $(GNT_DIR) $(GTK_DIR) m4macros $(PO_DIR) share/ca-certs share/sounds
4554
09f005a2628b [gaim-migrate @ 4834]
Christian Hammond <chipx86@chipx86.com>
parents: 3726
diff changeset
90
6596
d321d1757a34 [gaim-migrate @ 7120]
Christian Hammond <chipx86@chipx86.com>
parents: 6411
diff changeset
91 docs: Doxyfile
10925
dc0bfebfef15 [gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents: 10362
diff changeset
92 if HAVE_DOXYGEN
dc0bfebfef15 [gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents: 10362
diff changeset
93 @echo "Running doxygen..."
4554
09f005a2628b [gaim-migrate @ 4834]
Christian Hammond <chipx86@chipx86.com>
parents: 3726
diff changeset
94 @doxygen
20987
89f5ef90c79e Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <resiak@pidgin.im>
parents: 18292
diff changeset
95 if HAVE_XSLTPROC
89f5ef90c79e Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <resiak@pidgin.im>
parents: 18292
diff changeset
96 @echo "Generating devhelp index..."
21922
0692146e9809 Ari noticed that `make docs` no longer functions properly when the build
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 21726
diff changeset
97 @xsltproc $(top_srcdir)/doxy2devhelp.xsl doc/xml/index.xml > doc/html/pidgin.devhelp
20987
89f5ef90c79e Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <resiak@pidgin.im>
parents: 18292
diff changeset
98 @echo "(Symlink doc/html to ~/.local/share/gtk-doc/html/pidgin to make devhelp see the documentation)"
89f5ef90c79e Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <resiak@pidgin.im>
parents: 18292
diff changeset
99 else
89f5ef90c79e Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <resiak@pidgin.im>
parents: 18292
diff changeset
100 @echo "Not generating devhelp index: xsltproc was not found by configure"
89f5ef90c79e Add some xsl magic to generate a .devhelp index from doxygen's XML output,
Will Thompson <resiak@pidgin.im>
parents: 18292
diff changeset
101 endif
10925
dc0bfebfef15 [gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents: 10362
diff changeset
102 else
25589
5633a8068258 I like this message better.
Etan Reisner <deryni@pidgin.im>
parents: 24811
diff changeset
103 @echo "doxygen was not found during configure. Unable to build documentation."
10925
dc0bfebfef15 [gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents: 10362
diff changeset
104 @echo;
dc0bfebfef15 [gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents: 10362
diff changeset
105 endif
11862
5d4bc6d54688 [gaim-migrate @ 14153]
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 11147
diff changeset
106
5d4bc6d54688 [gaim-migrate @ 14153]
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 11147
diff changeset
107 # perl's MakeMaker uninstall foo doesn't work well with DESTDIR set, which
5d4bc6d54688 [gaim-migrate @ 14153]
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 11147
diff changeset
108 # breaks "make distcheck" unless we ignore perl things
5d4bc6d54688 [gaim-migrate @ 14153]
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 11147
diff changeset
109
5d4bc6d54688 [gaim-migrate @ 14153]
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 11147
diff changeset
110 distuninstallcheck_listfiles = \
15949
222f6fb6fd99 One step towards passing "make distcheck"
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15946
diff changeset
111 find . -type f -print | grep -v perl | grep -v Purple.3pm
12299
1748fd6f90a6 [gaim-migrate @ 14603]
Tim Ringenbach <marv@pidgin.im>
parents: 11883
diff changeset
112
15973
4cca2946f3bf Rename our schemas file and update the url handler to point to the
Mark Doliner <markdoliner@pidgin.im>
parents: 15966
diff changeset
113 DISTCLEANFILES= pidgin.desktop libpurple/gconf/purple.schemas intltool-extract \
14831
9b9d78696326 [gaim-migrate @ 17527]
Luke Schierer <lschiere@pidgin.im>
parents: 14826
diff changeset
114 intltool-merge intltool-update

mercurial