Sun, 16 Aug 2009 03:21:47 +0000
Don't try to write a cert with a blank filename.
This *should* throw an error, probably, but I'm lazy. This is better
than the previous behavior.
| 15665 | 1 | EXTRA_DIST = \ |
| 7960 | 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 \ |
|
27945
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
19 | package_revision.h \ |
|
15966
cf2b67eaa153
Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents:
15949
diff
changeset
|
20 | pidgin.apspec.in \ |
|
cf2b67eaa153
Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents:
15949
diff
changeset
|
21 | pidgin.spec.in \ |
|
cf2b67eaa153
Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents:
15949
diff
changeset
|
22 | 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
|
23 | 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
|
24 | valgrind-suppressions |
| 0 | 25 | |
|
27945
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
26 | noinst_HEADERS = config.h package_revision.h |
|
9364
6d800038ed6c
[gaim-migrate @ 10172]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
9137
diff
changeset
|
27 | |
|
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
|
28 | 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
|
29 | cp pidgin.spec $(distdir) |
|
14812
19bc309acce1
[gaim-migrate @ 17507]
Daniel Atallah <datallah@pidgin.im>
parents:
14714
diff
changeset
|
30 | rm $(distdir)/config.h |
|
3449
4a91c7f019d5
[gaim-migrate @ 3493]
Christian Hammond <chipx86@chipx86.com>
parents:
3439
diff
changeset
|
31 | |
|
16721
1029de4b36e8
Step one of N for making 'make distcheck' happy. GtkUI.pm was renamed
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
16671
diff
changeset
|
32 | 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
|
33 | # 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
|
34 | |
|
24582
fbcdf75b7195
applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents:
24525
diff
changeset
|
35 | commit-check: |
|
fbcdf75b7195
applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents:
24525
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) |
|
fbcdf75b7195
applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents:
24525
diff
changeset
|
37 | LC_ALL=C sort -c -t/ -u po/POTFILES.in |
|
fbcdf75b7195
applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents:
24525
diff
changeset
|
38 | 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
|
39 | iconv -f utf8 -t utf8 COPYRIGHT | cmp COPYRIGHT - |
|
24582
fbcdf75b7195
applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents:
24525
diff
changeset
|
40 | |
|
fbcdf75b7195
applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents:
24525
diff
changeset
|
41 | 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
|
42 | # 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
|
43 | 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
|
44 | |
|
24525
fd63a55e8c27
disapproval of revision 'ff8b50f6e7cbd8635c3e9f6bac789daeeb343d04'
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
24521
diff
changeset
|
45 | # Make sure there is a NEWS entry for this version |
|
fd63a55e8c27
disapproval of revision 'ff8b50f6e7cbd8635c3e9f6bac789daeeb343d04'
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
24521
diff
changeset
|
46 | 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
|
47 | |
|
fd63a55e8c27
disapproval of revision 'ff8b50f6e7cbd8635c3e9f6bac789daeeb343d04'
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
24521
diff
changeset
|
48 | # 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
|
49 | # Using spaces instead of tabs there is a common mistake. |
|
fd63a55e8c27
disapproval of revision 'ff8b50f6e7cbd8635c3e9f6bac789daeeb343d04'
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
24521
diff
changeset
|
50 | test x`grep "^ " NEWS` = x |
|
fd63a55e8c27
disapproval of revision 'ff8b50f6e7cbd8635c3e9f6bac789daeeb343d04'
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
24521
diff
changeset
|
51 | |
|
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
|
52 | # 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
|
53 | # 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
|
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 |
|
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 | |
|
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 | # 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
|
57 | 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
|
58 | 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
|
59 | 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
|
60 | |
|
5bf6f22d213c
Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@pidgin.im>
parents:
24160
diff
changeset
|
61 | # 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
|
62 | 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
|
63 | # ... 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
|
64 | 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
|
65 | |
|
24454
829b5b31b312
Run the (relatively quick) version check before the (painfully long)
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
24162
diff
changeset
|
66 | 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
|
67 | |
|
24454
829b5b31b312
Run the (relatively quick) version check before the (painfully long)
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
24162
diff
changeset
|
68 | packages: |
|
24158
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.gz |
|
9af58ab23276
Add release-time candy 'make release' and 'make packages' to the Makefile.
Ethan Blanton <elb@pidgin.im>
parents:
22723
diff
changeset
|
70 | 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
|
71 | 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
|
72 | 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
|
73 | |
|
21973
6989d49da5d2
Don't install pidgin.desktop when not installing Pidgin
Sean Egan <seanegan@pidgin.im>
parents:
21922
diff
changeset
|
74 | if ENABLE_GTK |
|
5253
17806e81375c
[gaim-migrate @ 5625]
Christian Hammond <chipx86@chipx86.com>
parents:
4564
diff
changeset
|
75 | appsdir = $(datadir)/applications |
| 15538 | 76 | apps_in_files = pidgin.desktop.in |
|
13180
4cce5a554f53
[gaim-migrate @ 15542]
Richard Laager <rlaager@pidgin.im>
parents:
12299
diff
changeset
|
77 | apps_DATA = $(apps_in_files:.desktop.in=.desktop) |
|
4cce5a554f53
[gaim-migrate @ 15542]
Richard Laager <rlaager@pidgin.im>
parents:
12299
diff
changeset
|
78 | @INTLTOOL_DESKTOP_RULE@ |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
14856
diff
changeset
|
79 | 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
|
80 | endif |
|
b63ebf84c42b
This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents:
13491
diff
changeset
|
81 | |
|
b63ebf84c42b
This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents:
13491
diff
changeset
|
82 | if ENABLE_GNT |
|
15878
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15805
diff
changeset
|
83 | 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
|
84 | endif |
|
b63ebf84c42b
This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents:
13491
diff
changeset
|
85 | |
|
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
|
86 | 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
|
87 | 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
|
88 | 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
|
89 | |
|
27945
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
90 | # This is phony, so that we always try to rebuild it. If it succeeds |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
91 | # in calculating changes, it produces its target; otherwise, its |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
92 | # target does not exist. |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
93 | .PHONY: package_revision_raw.txt |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
94 | # if both attempts fail, then we need to remove the empty file that > |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
95 | # creates, and also make sure that the shell command exits |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
96 | # successfully; the rm -f ensures both |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
97 | package_revision_raw.txt: |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
98 | REAL_BLDDIR=$$PWD/$(top_builddir); \ |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
99 | (cd $(srcdir) && $$REAL_BLDDIR/mtn --root=. automate get_base_revision_id) 2>/dev/null >$@ \ |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
100 | || (cd $(srcdir) && mtn --root=. automate get_base_revision_id) 2>/dev/null >$@ \ |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
101 | || rm -f $@ |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
102 | package_revision.h: package_revision_raw.txt |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
103 | if [ -f $< ]; then \ |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
104 | sed 's/^\(.\+\)$$/#define REVISION "\1"/' $< > $@; \ |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
105 | fi |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
106 | if [ ! -f $@ -a -f $(srcdir)/$@ ]; then \ |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
107 | cp $(srcdir)/$@ $@; \ |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
108 | fi |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
109 | [ -f $@ ] || echo "#define REVISION \"unknown\"" > $@ |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
110 | |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
111 | # This is a magic directive copy-and-pasted, then modified, from the |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
112 | # automake 1.9 manual, section 13.4, "Checking the distribution". |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
113 | # Normally, 'distcheck' does a clean build, and then afterwards runs |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
114 | # 'distclean', and 'distclean' is supposed to remove everything that |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
115 | # the build created. However, we have some targets (package_revision.txt) |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
116 | # that we distribute, but then always attempt to rebuild optimistically, and |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
117 | # then if that fails fall back on the distributed versions. This |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
118 | # means that 'distclean' should _not_ remove those files, since they |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
119 | # are distributed, yet building the package will generate those files, |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
120 | # thus automake thinks that 'distclean' _should_ remove those files, |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
121 | # and 'distcheck' gets cranky if we don't. So basically what this |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
122 | # line does is tell 'distcheck' to shut up and ignore those two files. |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
123 | distcleancheck_listfiles = find . -type f -a ! -name package_revision.h |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
124 | |
|
93ece0c6a9ad
Add the MTN revision in the Pidgin About and finch --version dialogs.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
25911
diff
changeset
|
125 | 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
|
126 | |
|
6596
d321d1757a34
[gaim-migrate @ 7120]
Christian Hammond <chipx86@chipx86.com>
parents:
6411
diff
changeset
|
127 | docs: Doxyfile |
|
10925
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10362
diff
changeset
|
128 | if HAVE_DOXYGEN |
|
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10362
diff
changeset
|
129 | @echo "Running doxygen..." |
|
4554
09f005a2628b
[gaim-migrate @ 4834]
Christian Hammond <chipx86@chipx86.com>
parents:
3726
diff
changeset
|
130 | @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
|
131 | 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
|
132 | @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
|
133 | @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
|
134 | @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
|
135 | 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
|
136 | @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
|
137 | endif |
|
10925
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10362
diff
changeset
|
138 | else |
|
25589
5633a8068258
I like this message better.
Etan Reisner <deryni@pidgin.im>
parents:
24811
diff
changeset
|
139 | @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
|
140 | @echo; |
|
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10362
diff
changeset
|
141 | endif |
|
11862
5d4bc6d54688
[gaim-migrate @ 14153]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
11147
diff
changeset
|
142 | |
|
5d4bc6d54688
[gaim-migrate @ 14153]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
11147
diff
changeset
|
143 | # 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
|
144 | # breaks "make distcheck" unless we ignore perl things |
|
5d4bc6d54688
[gaim-migrate @ 14153]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
11147
diff
changeset
|
145 | |
|
5d4bc6d54688
[gaim-migrate @ 14153]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
11147
diff
changeset
|
146 | distuninstallcheck_listfiles = \ |
|
15949
222f6fb6fd99
One step towards passing "make distcheck"
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15946
diff
changeset
|
147 | find . -type f -print | grep -v perl | grep -v Purple.3pm |
| 12299 | 148 | |
|
15973
4cca2946f3bf
Rename our schemas file and update the url handler to point to the
Mark Doliner <markdoliner@pidgin.im>
parents:
15966
diff
changeset
|
149 | DISTCLEANFILES= pidgin.desktop libpurple/gconf/purple.schemas intltool-extract \ |
|
14831
9b9d78696326
[gaim-migrate @ 17527]
Luke Schierer <lschiere@pidgin.im>
parents:
14826
diff
changeset
|
150 | intltool-merge intltool-update |