Makefile.am

Wed, 05 Oct 2016 22:16:38 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Wed, 05 Oct 2016 22:16:38 -0500
branch
oscar_auth
changeset 38096
16a23b25545d
parent 37584
db03440c11c0
child 38172
663a08ece735
permissions
-rw-r--r--

closing old/merged branches

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 \
98b24917a5b5 [gaim-migrate @ 17226]
Mark Doliner <markdoliner@pidgin.im>
parents: 14517
diff changeset
5 HACKING \
98b24917a5b5 [gaim-migrate @ 17226]
Mark Doliner <markdoliner@pidgin.im>
parents: 14517
diff changeset
6 Makefile.mingw \
98b24917a5b5 [gaim-migrate @ 17226]
Mark Doliner <markdoliner@pidgin.im>
parents: 14517
diff changeset
7 PLUGIN_HOWTO \
33582
c459263362de Fix "make dist"
Mark Doliner <mark@kingant.net>
parents: 33581
diff changeset
8 README.hg \
14568
98b24917a5b5 [gaim-migrate @ 17226]
Mark Doliner <markdoliner@pidgin.im>
parents: 14517
diff changeset
9 README.mingw \
15966
cf2b67eaa153 Change some stuff from gaim to pidgin
Mark Doliner <markdoliner@pidgin.im>
parents: 15949
diff changeset
10 config.h.mingw \
13180
4cce5a554f53 [gaim-migrate @ 15542]
Richard Laager <rlaager@pidgin.im>
parents: 12299
diff changeset
11 intltool-extract.in \
4cce5a554f53 [gaim-migrate @ 15542]
Richard Laager <rlaager@pidgin.im>
parents: 12299
diff changeset
12 intltool-merge.in \
4cce5a554f53 [gaim-migrate @ 15542]
Richard Laager <rlaager@pidgin.im>
parents: 12299
diff changeset
13 intltool-update.in \
36811
41b0483c482e Started integrating gobject introspection with the build system
Ankit Vani <a@nevitus.org>
parents: 34324
diff changeset
14 m4macros/introspection.m4 \
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
15 package_revision.h \
16671
b674ee610d47 The valgrind suppressions file would be useful to people developing from a
Richard Laager <rlaager@pidgin.im>
parents: 16608
diff changeset
16 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
17 valgrind-suppressions
0
7b1da07f853f [gaim-migrate @ 9]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
18
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 noinst_HEADERS = config.h package_revision.h
9364
6d800038ed6c [gaim-migrate @ 10172]
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 9137
diff changeset
20
35606
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
21 dist-pre-hook: package_revision.h
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
22 if !ENABLE_GTK_DOC
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
23 $(AM_V_at)echo "error: gtk-doc must be installed and enabled in order to make dist"
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
24 $(AM_V_at)echo "re-run ./configure with --enable-gtk-doc switch and try again"
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
25 $(AM_V_at)false
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
26 endif
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
27 $(AM_V_at)if [ ! -f "$(top_builddir)libpurple/libpurple.la" ]; then \
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
28 $(MAKE) -C libpurple libpurple.la; \
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
29 fi
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
30 if ENABLE_GNT
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
31 $(AM_V_at)if [ ! -f "$(top_builddir)finch/libgnt/libgnt.la" ]; then \
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
32 $(MAKE) -C finch/libgnt libgnt.la; \
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
33 fi
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
34 $(AM_V_at)if [ ! -f "$(top_builddir)finch/libfinch.la" ]; then \
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
35 $(MAKE) -C finch libfinch.la; \
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
36 fi
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
37 endif
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
38 if ENABLE_GTK
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
39 $(AM_V_at)if [ ! -f "$(top_builddir)pidgin/libpidgin.la" ]; then \
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
40 $(MAKE) -C pidgin libpidgin.la; \
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
41 fi
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
42 endif
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
43
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
44 dist: dist-pre-hook
b6d82f891592 Fix make dist dependency tree
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35603
diff changeset
45
35345
bcf28978c4b2 Remove our pidgin.spec.in.
Mark Doliner <mark@kingant.net>
parents: 35343
diff changeset
46 dist-hook:
14812
19bc309acce1 [gaim-migrate @ 17507]
Daniel Atallah <datallah@pidgin.im>
parents: 14714
diff changeset
47 rm $(distdir)/config.h
3449
4a91c7f019d5 [gaim-migrate @ 3493]
Christian Hammond <chipx86@chipx86.com>
parents: 3439
diff changeset
48
16721
1029de4b36e8 Step one of N for making 'make distcheck' happy. GtkUI.pm was renamed
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 16671
diff changeset
49 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
50 # 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
51
24582
fbcdf75b7195 applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents: 24525
diff changeset
52 commit-check:
fbcdf75b7195 applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents: 24525
diff changeset
53 (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
54
2cac629e4549 Add a few comments and change version-check to not depend on commit-check
Mark Doliner <mark@kingant.net>
parents: 33040
diff changeset
55 # Ensure these files are sorted and contain no duplicates:
24582
fbcdf75b7195 applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents: 24525
diff changeset
56 LC_ALL=C sort -c -t/ -u po/POTFILES.in
fbcdf75b7195 applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents: 24525
diff changeset
57 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
58
2cac629e4549 Add a few comments and change version-check to not depend on commit-check
Mark Doliner <mark@kingant.net>
parents: 33040
diff changeset
59 # 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
60 iconv -f utf8 -t utf8 COPYRIGHT | cmp COPYRIGHT -
24582
fbcdf75b7195 applied changes from 84461a44ffa2c1e7ab026455c5463a9763f64a9d
Richard Laager <rlaager@pidgin.im>
parents: 24525
diff changeset
61
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
62 version-check:
33062
280854ddb8d4 - Slightly better comments
Mark Doliner <mark@kingant.net>
parents: 33061
diff changeset
63 # 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
64 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
65
33062
280854ddb8d4 - Slightly better comments
Mark Doliner <mark@kingant.net>
parents: 33061
diff changeset
66 # Ensure ChangeLogs have the correct version
280854ddb8d4 - Slightly better comments
Mark Doliner <mark@kingant.net>
parents: 33061
diff changeset
67 head ChangeLog | grep "^version $(PACKAGE_VERSION) (.*):$$" >/dev/null
280854ddb8d4 - Slightly better comments
Mark Doliner <mark@kingant.net>
parents: 33061
diff changeset
68 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
69
5bf6f22d213c Add some more code to the version-check target to test the ChangeLog files
Richard Laager <rlaager@pidgin.im>
parents: 24160
diff changeset
70 # 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
71 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
72 # ... 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
73 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
74
33581
cb37773e35a3 sign-packages Makefile target depends on dist
Mark Doliner <mark@kingant.net>
parents: 33580
diff changeset
75 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
76 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
77 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
78 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
79 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
80
33580
246527e54546 Rename "packages" makefile target to "sign-packages"
Mark Doliner <mark@kingant.net>
parents: 33062
diff changeset
81 release: commit-check version-check distcheck sign-packages
33062
280854ddb8d4 - Slightly better comments
Mark Doliner <mark@kingant.net>
parents: 33061
diff changeset
82
29901
dd0bc58418e5 Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 28464
diff changeset
83 if INSTALL_I18N
dd0bc58418e5 Make --disable-nls work again. Fixes #11548.
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 28464
diff changeset
84 PO_DIR=po
36249
c6a0feac708f Move data files into their own directory.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 35974
diff changeset
85 endif
14253
b63ebf84c42b This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents: 13491
diff changeset
86
30335
25dc578759fc Make Pidgin build correctly when using the --disable-nls configure flag.
Jiri Denemark <jiri.denemark@gmail.com>
parents: 30288
diff changeset
87 if ENABLE_GTK
15435
4b933b06d75e Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@pidgin.im>
parents: 14856
diff changeset
88 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
89 endif
b63ebf84c42b This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents: 13491
diff changeset
90
b63ebf84c42b This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents: 13491
diff changeset
91 if ENABLE_GNT
15878
f52832b611fe renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents: 15805
diff changeset
92 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
93 endif
b63ebf84c42b This is a hand-crafted commit to migrate across subversion revisions
Ethan Blanton <elb@pidgin.im>
parents: 13491
diff changeset
94
35974
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
95 # 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
96 .FORCE:
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
97
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 # 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
99 # 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
100 # 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
101 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
102 $(AM_V_GEN)REAL_BLDDIR=$$PWD/$(top_builddir); \
35974
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
103 (hg --cwd $(srcdir) id -i --debug) 2>/dev/null >$@.new \
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
104 || rm -f $@.new
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
105 $(AM_V_at)if test -f $@.new; then \
36132
3d96648efd41 Don't attempt to diff package_revision_raw.txt if it doesn't exist.
Mark Doliner <mark@kingant.net>
parents: 35989
diff changeset
106 if ! test -f "$@" || ! diff "$@" "$@".new > /dev/null ; then \
35974
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
107 mv $@.new $@; \
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
108 else \
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
109 rm $@.new; \
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
110 fi \
ad46974535ba Backport makefile fix to not regenerate revision on each make
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35576
diff changeset
111 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
112 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
113 $(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
114 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
115 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
116 $(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
117 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
118 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
119 $(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
120
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 # 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
122 # 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
123 # 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
124 # '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
125 # 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
126 # 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
127 # 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
128 # 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
129 # 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
130 # 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
131 # 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
132 # 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
133 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
134
35603
08adaffc9b06 Fix make distcheck for default branch
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35580
diff changeset
135 AM_DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
4554
09f005a2628b [gaim-migrate @ 4834]
Christian Hammond <chipx86@chipx86.com>
parents: 3726
diff changeset
136
35387
c516874b0d14 Prepare files for gtk-doc conversion.
Ankit Vani <a@nevitus.org>
parents: 34324
diff changeset
137 SUBDIRS = . m4macros libpurple $(GNT_DIR) $(GTK_DIR) $(PO_DIR) share/ca-certs share/sounds doc
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 # 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
140 # 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
141 # TODO drop it when we drop perl wrapper
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 distuninstallcheck_listfiles = \
35576
12216afa24ab Fix make distcheck for 2.x.y
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents: 35340
diff changeset
144 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
145
36249
c6a0feac708f Move data files into their own directory.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 35974
diff changeset
146 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
147 package_revision_raw.txt

mercurial