Sat, 05 Jan 2013 21:03:33 -0800
sign-packages Makefile target depends on dist
| 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) |
|
33061
2cac629e4549
Add a few comments and change version-check to not depend on commit-check
Mark Doliner <mark@kingant.net>
parents:
33040
diff
changeset
|
37 | |
|
2cac629e4549
Add a few comments and change version-check to not depend on commit-check
Mark Doliner <mark@kingant.net>
parents:
33040
diff
changeset
|
38 | # Ensure these files are sorted and contain no duplicates: |
|
24582
fbcdf75b7195
applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents:
24525
diff
changeset
|
39 | LC_ALL=C sort -c -t/ -u po/POTFILES.in |
|
fbcdf75b7195
applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents:
24525
diff
changeset
|
40 | LC_ALL=C sort -c -t/ -u po/POTFILES.skip |
|
33061
2cac629e4549
Add a few comments and change version-check to not depend on commit-check
Mark Doliner <mark@kingant.net>
parents:
33040
diff
changeset
|
41 | |
|
2cac629e4549
Add a few comments and change version-check to not depend on commit-check
Mark Doliner <mark@kingant.net>
parents:
33040
diff
changeset
|
42 | # Ensure COPYRIGHT is 100% UTF-8 |
|
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
|
43 | iconv -f utf8 -t utf8 COPYRIGHT | cmp COPYRIGHT - |
|
24582
fbcdf75b7195
applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents:
24525
diff
changeset
|
44 | |
|
33061
2cac629e4549
Add a few comments and change version-check to not depend on commit-check
Mark Doliner <mark@kingant.net>
parents:
33040
diff
changeset
|
45 | version-check: |
|
33062
280854ddb8d4
- Slightly better comments
Mark Doliner <mark@kingant.net>
parents:
33061
diff
changeset
|
46 | # Ensure our version string does not contain "dev" |
|
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
|
47 | 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
|
48 | |
|
33062
280854ddb8d4
- Slightly better comments
Mark Doliner <mark@kingant.net>
parents:
33061
diff
changeset
|
49 | # Ensure ChangeLogs have the correct version |
|
280854ddb8d4
- Slightly better comments
Mark Doliner <mark@kingant.net>
parents:
33061
diff
changeset
|
50 | head ChangeLog | grep "^version $(PACKAGE_VERSION) (.*):$$" >/dev/null |
|
280854ddb8d4
- Slightly better comments
Mark Doliner <mark@kingant.net>
parents:
33061
diff
changeset
|
51 | head ChangeLog.API | grep "^version $(PACKAGE_VERSION):$$" >/dev/null |
|
280854ddb8d4
- Slightly better comments
Mark Doliner <mark@kingant.net>
parents:
33061
diff
changeset
|
52 | 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
|
53 | |
|
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 | # Ensure we're working from a tag... |
|
33033
94483eea146c
Update version-check task to work with hg
Hg Conversion <devel@pidgin.im>
parents:
24811
diff
changeset
|
55 | test x`hg log -r "tag($(PACKAGE_VERSION))" --template "{node}"` = x`hg id -i --debug` |
|
94483eea146c
Update version-check task to work with hg
Hg Conversion <devel@pidgin.im>
parents:
24811
diff
changeset
|
56 | # ... and have no changes in the working copy. (this isn't really necessary with hg because hg id appends a "+") |
|
94483eea146c
Update version-check task to work with hg
Hg Conversion <devel@pidgin.im>
parents:
24811
diff
changeset
|
57 | test "x`hg st -mard`" = x |
|
24159
a2e69221bd14
Verify monotone tag and workspace version on 'make packages'.
Ethan Blanton <elb@pidgin.im>
parents:
24158
diff
changeset
|
58 | |
|
33581
cb37773e35a3
sign-packages Makefile target depends on dist
Mark Doliner <mark@kingant.net>
parents:
33580
diff
changeset
|
59 | sign-packages: dist |
|
24158
9af58ab23276
Add release-time candy 'make release' and 'make packages' to the Makefile.
Ethan Blanton <elb@pidgin.im>
parents:
22723
diff
changeset
|
60 | 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
|
61 | 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
|
62 | 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
|
63 | 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
|
64 | |
|
33580
246527e54546
Rename "packages" makefile target to "sign-packages"
Mark Doliner <mark@kingant.net>
parents:
33062
diff
changeset
|
65 | release: commit-check version-check distcheck sign-packages |
|
33062
280854ddb8d4
- Slightly better comments
Mark Doliner <mark@kingant.net>
parents:
33061
diff
changeset
|
66 | |
|
29901
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28464
diff
changeset
|
67 | if INSTALL_I18N |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28464
diff
changeset
|
68 | PO_DIR=po |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28464
diff
changeset
|
69 | DESKTOP_FILE=pidgin.desktop |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28464
diff
changeset
|
70 | |
|
21973
6989d49da5d2
Don't install pidgin.desktop when not installing Pidgin
Sean Egan <seanegan@pidgin.im>
parents:
21922
diff
changeset
|
71 | if ENABLE_GTK |
|
5253
17806e81375c
[gaim-migrate @ 5625]
Christian Hammond <chipx86@chipx86.com>
parents:
4564
diff
changeset
|
72 | appsdir = $(datadir)/applications |
| 15538 | 73 | apps_in_files = pidgin.desktop.in |
|
13180
4cce5a554f53
[gaim-migrate @ 15542]
Richard Laager <rlaager@pidgin.im>
parents:
12299
diff
changeset
|
74 | apps_DATA = $(apps_in_files:.desktop.in=.desktop) |
|
4cce5a554f53
[gaim-migrate @ 15542]
Richard Laager <rlaager@pidgin.im>
parents:
12299
diff
changeset
|
75 | @INTLTOOL_DESKTOP_RULE@ |
|
29901
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28464
diff
changeset
|
76 | endif #ENABLE_GTK |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28464
diff
changeset
|
77 | |
|
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28464
diff
changeset
|
78 | endif #INSTALL_I18N |
|
14253
b63ebf84c42b
This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents:
13491
diff
changeset
|
79 | |
|
30335
25dc578759fc
Make Pidgin build correctly when using the --disable-nls configure flag.
Jiri Denemark <jiri.denemark@gmail.com>
parents:
30288
diff
changeset
|
80 | if ENABLE_GTK |
|
15435
4b933b06d75e
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents:
14856
diff
changeset
|
81 | 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
|
82 | endif |
|
b63ebf84c42b
This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents:
13491
diff
changeset
|
83 | |
|
b63ebf84c42b
This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents:
13491
diff
changeset
|
84 | if ENABLE_GNT |
|
15878
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15805
diff
changeset
|
85 | 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
|
86 | endif |
|
b63ebf84c42b
This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents:
13491
diff
changeset
|
87 | |
|
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
|
88 | # 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
|
89 | # 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
|
90 | # 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
|
91 | .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
|
92 | # 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
|
93 | # 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
|
94 | # 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
|
95 | package_revision_raw.txt: |
|
30491
343ac123ff38
Enable silent build rules. You can disable them using the configure
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30418
diff
changeset
|
96 | $(AM_V_GEN)REAL_BLDDIR=$$PWD/$(top_builddir); \ |
|
33034
f2bcfef842d2
Update package_version.h to work with hg
Hg Conversion <devel@pidgin.im>
parents:
27945
diff
changeset
|
97 | (hg --cwd $(srcdir) id -i --debug) 2>/dev/null >$@ \ |
|
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
|
98 | || 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
|
99 | package_revision.h: package_revision_raw.txt |
|
30491
343ac123ff38
Enable silent build rules. You can disable them using the configure
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30418
diff
changeset
|
100 | $(AM_V_GEN)if test -f $<; then \ |
|
28464
db0a324d17e6
Make Makefile.am a bit more portable
Ethan Blanton <elb@pidgin.im>
parents:
27945
diff
changeset
|
101 | echo "#define REVISION \"`cat $<`\"" > $@; \ |
|
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
|
102 | fi |
|
30491
343ac123ff38
Enable silent build rules. You can disable them using the configure
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30418
diff
changeset
|
103 | $(AM_V_at)if test ! -f $@ -a -f $(srcdir)/$@; then \ |
|
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
|
104 | 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
|
105 | fi |
|
30491
343ac123ff38
Enable silent build rules. You can disable them using the configure
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30418
diff
changeset
|
106 | $(AM_V_at)test -f $@ || echo "#define REVISION \"unknown\"" > $@ |
|
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
|
107 | |
|
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 | # 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
|
109 | # 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
|
110 | # 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
|
111 | # '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
|
112 | # 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
|
113 | # 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
|
114 | # 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
|
115 | # 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
|
116 | # 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
|
117 | # 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
|
118 | # 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
|
119 | # 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
|
120 | 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
|
121 | |
|
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 | 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
|
123 | |
|
6596
d321d1757a34
[gaim-migrate @ 7120]
Christian Hammond <chipx86@chipx86.com>
parents:
6411
diff
changeset
|
124 | docs: Doxyfile |
|
10925
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10362
diff
changeset
|
125 | if HAVE_DOXYGEN |
|
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10362
diff
changeset
|
126 | @echo "Running doxygen..." |
|
4554
09f005a2628b
[gaim-migrate @ 4834]
Christian Hammond <chipx86@chipx86.com>
parents:
3726
diff
changeset
|
127 | @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
|
128 | 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
|
129 | @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
|
130 | @xsltproc $(top_srcdir)/doxy2devhelp.xsl doc/xml/index.xml > doc/html/pidgin.devhelp |
|
30418
752a890b6662
Make the advice for symlink-ing devhelp docs more explicit to reduce the
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
30335
diff
changeset
|
131 | @echo "(Symlink $$(pwd)/doc/html to ~/.local/share/gtk-doc/html/pidgin to make devhelp see the documentation)" |
|
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
|
132 | 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
|
133 | @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
|
134 | endif |
|
10925
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10362
diff
changeset
|
135 | else |
|
25589
5633a8068258
I like this message better.
Etan Reisner <deryni@pidgin.im>
parents:
24811
diff
changeset
|
136 | @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
|
137 | @echo; |
|
dc0bfebfef15
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10362
diff
changeset
|
138 | endif |
|
11862
5d4bc6d54688
[gaim-migrate @ 14153]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
11147
diff
changeset
|
139 | |
|
5d4bc6d54688
[gaim-migrate @ 14153]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
11147
diff
changeset
|
140 | # 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
|
141 | # breaks "make distcheck" unless we ignore perl things |
|
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 | distuninstallcheck_listfiles = \ |
|
15949
222f6fb6fd99
One step towards passing "make distcheck"
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15946
diff
changeset
|
144 | find . -type f -print | grep -v perl | grep -v Purple.3pm |
| 12299 | 145 | |
|
29901
dd0bc58418e5
Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
28464
diff
changeset
|
146 | DISTCLEANFILES= $(DESKTOP_FILE) libpurple/gconf/purple.schemas intltool-extract \ |
|
14831
9b9d78696326
[gaim-migrate @ 17527]
Luke Schierer <lschiere@pidgin.im>
parents:
14826
diff
changeset
|
147 | intltool-merge intltool-update |