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