MenuEditor: Fix directory entry visibility
[alacarte.git] / Makefile.am
blobf0ed0017e28d48e986f7181a8e66cd1466c574e8
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         $(AM_V_GEN)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