Forgot to update NEWS and README
[alacarte.git] / Makefile.am
blob9611bc77d1578b04e4e72d66631bb0e5b4ca4e96
1 ## Process this file with automake to produce Makefile.in
3 SUBDIRS = data po Alacarte
5 CLEANFILES=
7 bin_SCRIPTS = alacarte
8 CLEANFILES += alacarte
10 DISTCLEANFILES = ChangeLog
12 alacarte: alacarte.in
13         sed -e s!\@PYTHON\@!@PYTHON@!           \
14             -e s!\@PYOPTIONS\@!-OOt!            \
15             < $< > $@
16 alacarte: Makefile
18 EXTRA_DIST = \
19         alacarte.in \
20         MAINTAINERS \
21         ChangeLog.pre-git
23 ChangeLog:
24         @echo Creating $@
25         @if test -d "$(srcdir)/.git"; then \
26           (GIT_DIR=$(top_srcdir)/.git ./missing --run git log git-migration.. --stat -M -C --name-status  --date=short --no-color) | fmt --split-only > $@.tmp \
27           && mv -f $@.tmp $@ \
28           || ($(RM) $@.tmp; \
29               echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
30               (test -f $@ || echo git-log is required to generate this file >> $@)); \
31         else \
32           test -f $@ || \
33           (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
34            echo A git checkout and git-log is required to generate this file >> $@); \
35         fi
37 .PHONY: ChangeLog
38