summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 4bdc290132a5b429dd4caef4bcc452359dd6ff07 (plain)
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
## Process this file with automake to produce Makefile.in

SUBDIRS = po data Mozo

CLEANFILES=

bin_SCRIPTS = mozo
CLEANFILES += mozo

DISTCLEANFILES = ChangeLog

DISTCHECK_CONFIGURE_FLAGS = \
	--disable-icon-update \
	CFLAGS='-Wno-deprecated-declarations'

mozo: mozo.in
	$(AM_V_GEN)sed -e s!\@PYTHON\@!@PYTHON@!	\
	    -e s!\@PYOPTIONS\@!-OOt!			\
	    < $< > $@
mozo: Makefile

EXTRA_DIST = \
	autogen.sh \
	meson.build \
	mozo.in \
	post_install.py \
	po/meson.build

# Build ChangeLog from GIT  history
ChangeLog:
	$(AM_V_GEN) if test -d $(top_srcdir)/.git; then \
		GIT_DIR="$(top_srcdir)/.git" git log --stat > $@; \
	fi

dist: ChangeLog

.PHONY: ChangeLog