]> git.street.me.uk Git - andy/viking.git/blob - Makefile.am
Only perform man page generation when scrollkeeper is also installed.
[andy/viking.git] / Makefile.am
1 SUBDIRS = src test data po win32 help tools doc
2
3 INTLTOOL = \
4         intltool-extract.in \
5         intltool-merge.in \
6         intltool-update.in
7
8 full:
9         ./autogen.sh
10         make
11
12 EXTRA_DIST = \
13         gnome-doc-utils.make \
14         ChangeLog.0 \
15         viking.spec \
16         $(INTLTOOL)
17
18 .PHONY: generate-changelog
19 generate-changelog:
20         if test -d $(top_srcdir)/.git; then \
21           cd $(top_srcdir) ; sh $(top_srcdir)/maintainer/git2changelog.sh > $(distdir)/c-l; \
22           mv $(distdir)/c-l $(distdir)/ChangeLog; \
23         fi
24
25 dist-hook: viking.spec generate-changelog
26         cp $(top_builddir)/viking.spec $(distdir)
27
28 MAINTAINERCLEANFILES = \
29         gnome-doc-utils.make
30
31 DISTCLEANFILES = \
32         intltool-extract \
33         intltool-merge \
34         intltool-update
35
36 ACLOCAL_AMFLAGS = -I m4
37
38 DISTCHECK_CONFIGURE_FLAGS = \
39         --disable-scrollkeeper
40
41 # Ignore gtk theme cache files on distcheck
42 distuninstallcheck_listfiles = find . -type f -print | grep -v 'icon-theme.cache'