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