15 gaim-uninstalled.pc.in \
25 noinst_HEADERS = config.h
27 dist-hook: pidgin.spec
28 cp pidgin.spec $(distdir)
29 rm $(distdir)/config.h
31 distcheck-hook: libpurple/plugins/perl/common/Purple.pm pidgin/plugins/perl/common/Pidgin.pm
32 # cp libpurple/plugins/perl/common/Gaim.pm $(distdir)/libpurple/plugins/perl/common
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)
36 LC_ALL=C sort -c -t/ -u po/POTFILES.in
37 LC_ALL=C sort -c -t/ -u po/POTFILES.skip
38 iconv -f utf8 -t utf8 COPYRIGHT | cmp COPYRIGHT -
40 version-check: commit-check
41 # We don't want to release development versions.
42 test x`echo $(PACKAGE_VERSION) | grep dev` = x
44 # Make sure there is a NEWS entry for this version
45 head NEWS | grep "^$(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" > /dev/null
47 # Ensure NEWS has no spaces at the start of a line.
48 # Using spaces instead of tabs there is a common mistake.
49 test x`grep "^ " NEWS` = x
51 # When doing a new minor (or major) release (X.Y.0), there must be a section in
53 echo $(PACKAGE_VERSION) | grep -v "^[0-9]\+\.[0-9]\+\.0$$" >/dev/null || head ChangeLog.API | grep "^version $(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" >/dev/null
55 # For all releases, check the ChangeLogs.
56 head ChangeLog | grep "^version $(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" >/dev/null
57 head ChangeLog.win32 | grep "^version $(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" >/dev/null
58 head po/ChangeLog | grep "^version $(PACKAGE_VERSION)$$" >/dev/null
60 # Ensure we're working from a tag...
61 test x`mtn automate select t:v$(PACKAGE_VERSION)` = x`mtn automate get_base_revision_id`
62 # ... and have no changes in the working copy.
63 test "x`mtn diff | grep -v '^#'`" = x
65 release: version-check distcheck packages
68 gpg -ab pidgin-$(PACKAGE_VERSION).tar.gz
69 gpg -ab pidgin-$(PACKAGE_VERSION).tar.bz2
70 gpg --verify pidgin-$(PACKAGE_VERSION).tar.gz.asc pidgin-$(PACKAGE_VERSION).tar.gz
71 gpg --verify pidgin-$(PACKAGE_VERSION).tar.bz2.asc pidgin-$(PACKAGE_VERSION).tar.bz2
74 appsdir = $(datadir)/applications
75 apps_in_files = pidgin.desktop.in
76 apps_DATA = $(apps_in_files:.desktop.in=.desktop)
77 @INTLTOOL_DESKTOP_RULE@
89 SUBDIRS = libpurple doc $(GNT_DIR) $(GTK_DIR) m4macros $(PO_DIR) share/ca-certs share/sounds
93 @echo "Running doxygen..."
96 @echo "Generating devhelp index..."
97 @xsltproc $(top_srcdir)/doxy2devhelp.xsl doc/xml/index.xml > doc/html/pidgin.devhelp
98 @echo "(Symlink doc/html to ~/.local/share/gtk-doc/html/pidgin to make devhelp see the documentation)"
100 @echo "Not generating devhelp index: xsltproc was not found by configure"
103 @echo "doxygen was not found during configure. Unable to build documentation."
107 # perl's MakeMaker uninstall foo doesn't work well with DESTDIR set, which
108 # breaks "make distcheck" unless we ignore perl things
110 distuninstallcheck_listfiles = \
111 find . -type f -print | grep -v perl | grep -v Purple.3pm
113 DISTCLEANFILES= pidgin.desktop libpurple/gconf/purple.schemas intltool-extract \
114 intltool-merge intltool-update