]> git.street.me.uk Git - andy/viking.git/blob - Makefile.am
Include HACKING file in distribution.
[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         HACKING \
14         gnome-doc-utils.make \
15         ChangeLog.0 \
16         viking.spec \
17         $(INTLTOOL)
18
19 .PHONY: generate-changelog
20 generate-changelog:
21         if test -d $(top_srcdir)/.git; then \
22           cd $(top_srcdir) ; sh $(top_srcdir)/maintainer/git2changelog.sh > $(distdir)/c-l; \
23           mv $(distdir)/c-l $(distdir)/ChangeLog; \
24         fi
25
26 dist-hook: viking.spec generate-changelog
27         cp $(top_builddir)/viking.spec $(distdir)
28
29 MAINTAINERCLEANFILES = \
30         gnome-doc-utils.make
31
32 DISTCLEANFILES = \
33         intltool-extract \
34         intltool-merge \
35         intltool-update
36
37 ACLOCAL_AMFLAGS = -I m4
38
39 DISTCHECK_CONFIGURE_FLAGS = \
40         --disable-scrollkeeper
41
42 # Ignore gtk theme cache files on distcheck
43 distuninstallcheck_listfiles = find . -type f -print | grep -v 'icon-theme.cache'