summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 8fec907c9eb14be2b2eacbc8fc8488f4080e4d82 (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
## 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 \
	mozo.in

# 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