Makefile.am

Thu, 09 Apr 2020 02:41:27 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Thu, 09 Apr 2020 02:41:27 -0500
branch
discord-ssl-crash
changeset 40324
a86b4b3de249
parent 38147
478cf4acf83d
child 38240
0552f69f1996
child 40456
f902de8a1b5e
permissions
-rw-r--r--

closing merged branch

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 \
33582
c459263362de Fix "make dist"
Mark Doliner <mark@kingant.net>
parents: 33581
diff changeset
9 README.hg \
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 \
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
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
25 noinst_HEADERS = config.h package_revision.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)
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
36
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 # Ensure these files are sorted and contain no duplicates:
24582
fbcdf75b7195 applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents: 24525
diff changeset
38 LC_ALL=C sort -c -t/ -u po/POTFILES.in
fbcdf75b7195 applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents: 24525
diff changeset
39 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
40
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 # 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
42 iconv -f utf8 -t utf8 COPYRIGHT | cmp COPYRIGHT -
24582
fbcdf75b7195 applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents: 24525
diff changeset
43
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
44 version-check:
33062
280854ddb8d4 - Slightly better comments
Mark Doliner <mark@kingant.net>
parents: 33061
diff changeset
45 # 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
46 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
47
33062
280854ddb8d4 - Slightly better comments
Mark Doliner <mark@kingant.net>
parents: 33061
diff changeset
48 # Ensure ChangeLogs have the correct version
280854ddb8d4 - Slightly better comments
Mark Doliner <mark@kingant.net>
parents: 33061
diff changeset
49 head ChangeLog | grep "^version $(PACKAGE_VERSION) (.*):$$" >/dev/null
280854ddb8d4 - Slightly better comments
Mark Doliner <mark@kingant.net>
parents: 33061
diff changeset
50 head ChangeLog.API | 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
51
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 # Ensure we're working from a tag...
38147
478cf4acf83d Makefile: Use hg log instead of hg id --debug, which has unstable output
dx <dx@dxzone.com.ar>
parents: 36249
diff changeset
53 test x`hg log -r "tag($(PACKAGE_VERSION))" --template "{node}"` = x`hg log -r . -T '{node}'`
478cf4acf83d Makefile: Use hg log instead of hg id --debug, which has unstable output
dx <dx@dxzone.com.ar>
parents: 36249
diff changeset
54 # ... and have no changes in the working copy.
33033
94483eea146c Update version-check task to work with hg
Hg Conversion <devel@pidgin.im>
parents: 24811
diff changeset
55 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
56
33581
cb37773e35a3 sign-packages Makefile target depends on dist
Mark Doliner <mark@kingant.net>
parents: 33580
diff changeset
57 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
58 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
59 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
60 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
61 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
62
33580
246527e54546 Rename "packages" makefile target to "sign-packages"
Mark Doliner <mark@kingant.net>
parents: 33062
diff changeset
63 release: commit-check version-check distcheck sign-packages
33062
280854ddb8d4 - Slightly better comments
Mark Doliner <mark@kingant.net>
parents: 33061
diff changeset
64
29901
dd0bc58418e5 Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 28464
diff changeset
65 if INSTALL_I18N
dd0bc58418e5 Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 28464
diff changeset
66 PO_DIR=po
36249
c6a0feac708f Move data files into their own directory.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 35974
diff changeset
67 endif
14253
b63ebf84c42b This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents: 13491
diff changeset
68
30335
25dc578759fc Make Pidgin build correctly when using the --disable-nls configure flag.
Jiri Denemark <jiri.denemark@gmail.com>
parents: 30288
diff changeset
69 if ENABLE_GTK
15435
4b933b06d75e Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents: 14856
diff changeset
70 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
71 endif
b63ebf84c42b This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents: 13491
diff changeset
72
b63ebf84c42b This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents: 13491
diff changeset
73 if ENABLE_GNT
15878
f52832b611fe renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents: 15805
diff changeset
74 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
75 endif
b63ebf84c42b This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents: 13491
diff changeset
76
35974
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
77 # We always try to rebuild all objects that depends on this dummy target.
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
78 .FORCE:
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
79
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
80 # 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
81 # 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
82 # successfully; the rm -f ensures both
35974
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
83 package_revision_raw.txt: .FORCE
30491
343ac123ff38 Enable silent build rules. You can disable them using the configure
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 30418
diff changeset
84 $(AM_V_GEN)REAL_BLDDIR=$$PWD/$(top_builddir); \
38147
478cf4acf83d Makefile: Use hg log instead of hg id --debug, which has unstable output
dx <dx@dxzone.com.ar>
parents: 36249
diff changeset
85 (hg --cwd $(srcdir) log -r . -T {node}) 2>/dev/null >$@.new \
35974
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
86 || rm -f $@.new
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
87 $(AM_V_at)if test -f $@.new; then \
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
88 if ! diff $@ $@.new > /dev/null; then \
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
89 mv $@.new $@; \
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
90 else \
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
91 rm $@.new; \
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
92 fi \
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
93 fi
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
94 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
95 $(AM_V_GEN)if test -f $<; then \
35974
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
96 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
97 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
98 $(AM_V_at)if test ! -f $@ -a -f $(srcdir)/$@; then \
35974
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
99 cp $(srcdir)/$@ $@; \
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
100 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
101 $(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
102
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 # 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
104 # 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
105 # 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
106 # '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
107 # 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
108 # 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
109 # 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
110 # 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
111 # 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
112 # 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
113 # 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
114 # 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
115 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
116
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 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
118
6596
d321d1757a34 [gaim-migrate @ 7120]
Christian Hammond <chipx86@chipx86.com>
parents: 6411
diff changeset
119 docs: Doxyfile
10925
dc0bfebfef15 [gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents: 10362
diff changeset
120 if HAVE_DOXYGEN
dc0bfebfef15 [gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents: 10362
diff changeset
121 @echo "Running doxygen..."
4554
09f005a2628b [gaim-migrate @ 4834]
Christian Hammond <chipx86@chipx86.com>
parents: 3726
diff changeset
122 @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
123 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
124 @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
125 @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
126 @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
127 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
128 @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
129 endif
10925
dc0bfebfef15 [gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents: 10362
diff changeset
130 else
25589
5633a8068258 I like this message better.
Etan Reisner <deryni@pidgin.im>
parents: 24811
diff changeset
131 @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
132 @echo;
dc0bfebfef15 [gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents: 10362
diff changeset
133 endif
11862
5d4bc6d54688 [gaim-migrate @ 14153]
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 11147
diff changeset
134
5d4bc6d54688 [gaim-migrate @ 14153]
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 11147
diff changeset
135 # 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
136 # breaks "make distcheck" unless we ignore perl things
35576
12216afa24ab Fix make distcheck for 2.x.y
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35340
diff changeset
137 # TODO drop it when we drop perl wrapper
11862
5d4bc6d54688 [gaim-migrate @ 14153]
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 11147
diff changeset
138
5d4bc6d54688 [gaim-migrate @ 14153]
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 11147
diff changeset
139 distuninstallcheck_listfiles = \
35576
12216afa24ab Fix make distcheck for 2.x.y
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35340
diff changeset
140 find . -type f -print | grep -v perl | grep -v Purple.3pm | grep -v Pidgin.3pm
12299
1748fd6f90a6 [gaim-migrate @ 14603]
Tim Ringenbach <marv@pidgin.im>
parents: 11883
diff changeset
141
36249
c6a0feac708f Move data files into their own directory.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 35974
diff changeset
142 DISTCLEANFILES= intltool-extract intltool-merge intltool-update \
c6a0feac708f Move data files into their own directory.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 35974
diff changeset
143 package_revision_raw.txt

mercurial