-
Notifications
You must be signed in to change notification settings - Fork 55
/
Makefile.am
44 lines (36 loc) · 911 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
SUBDIRS = src test data po windows tools doc
if !WINDOWS
SUBDIRS += help
endif
INTLTOOL = \
intltool-extract.in \
intltool-merge.in \
intltool-update.in
full:
./autogen.sh
make
EXTRA_DIST = \
README.md \
HACKING \
NEWS \
ChangeLog.0 \
viking.spec \
mingw32-viking.spec \
mingw64-viking.spec \
$(INTLTOOL)
.PHONY: generate-changelog
generate-changelog:
if test -d $(top_srcdir)/.git; then \
cd $(top_srcdir) ; sh $(top_srcdir)/maintainer/git2changelog.sh > $(distdir)/c-l; \
mv $(distdir)/c-l $(distdir)/ChangeLog; \
fi
dist-hook: viking.spec generate-changelog
cp $(top_builddir)/viking.spec $(distdir)
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update \
po/.intltool-merge-cache.lock
ACLOCAL_AMFLAGS = -I m4
# Ignore gtk theme cache files on distcheck
distuninstallcheck_listfiles = find . -type f -print | grep -v 'icon-theme.cache'