]> git.street.me.uk Git - andy/viking.git/blame - Makefile.am
Make generation of the copyright year in the code automatic.
[andy/viking.git] / Makefile.am
CommitLineData
306ab474 1SUBDIRS = src test data po win32 help tools doc
a5daec1c
GB
2
3INTLTOOL = \
4 intltool-extract.in \
5 intltool-merge.in \
6 intltool-update.in
734652bf 7
34278722
GB
8full:
9 ./autogen.sh
34278722
GB
10 make
11
af2740eb 12EXTRA_DIST = \
25325f8d 13 HACKING \
26b1b55e
GS
14 gnome-doc-utils.make \
15 ChangeLog.0 \
16 viking.spec \
17 $(INTLTOOL)
af2740eb 18
a65476dc
GB
19.PHONY: generate-changelog
20generate-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
26dist-hook: viking.spec generate-changelog
af2740eb 27 cp $(top_builddir)/viking.spec $(distdir)
d700ee38 28
39aca0dd
GS
29MAINTAINERCLEANFILES = \
30 gnome-doc-utils.make
31
a5daec1c
GB
32DISTCLEANFILES = \
33 intltool-extract \
34 intltool-merge \
35 intltool-update
f8dfe1b9
GB
36
37ACLOCAL_AMFLAGS = -I m4
f8b8a0b5
GB
38
39DISTCHECK_CONFIGURE_FLAGS = \
40 --disable-scrollkeeper
69dce334
RN
41
42# Ignore gtk theme cache files on distcheck
43distuninstallcheck_listfiles = find . -type f -print | grep -v 'icon-theme.cache'