File: Makefile.am

package info (click to toggle)
viking 1.11-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,468 kB
  • sloc: ansic: 81,706; xml: 2,893; sh: 2,501; makefile: 874; python: 589; perl: 384; cpp: 259
file content (56 lines) | stat: -rw-r--r-- 1,348 bytes parent folder | download
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
45
46
47
48
49
50
51
52
53
54
55
56
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 \
	net.sf.viking.metainfo.xml \
	FLATPAK.md \
	org.viking.Viking.yml \
	org.viking.Viking.appdata.xml \
	viking-128.png \
	$(INTLTOOL)
# NB viking-128.png is just a rescaled src/icons/viking.png
# Yet needed for Flathub
# ATM Simpler to just embed copy in source control rather than generate
#  (e.g. via ImageMagick convert - as then need that in the build chain)

dist_metainfo_DATA = net.sf.viking.metainfo.xml
metainfodir = $(datarootdir)/metainfo

.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'