-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
33 lines (28 loc) · 924 Bytes
/
Makefile.am
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
SUBDIRS=libspacesim \
app
ACLOCAL_AMFLAGS=-I m4
EXTRA_DIST = \
bootstrap \
ChangeLog \
README
AUTOMAKE_OPTIONS = foreign
CHANGELOG_START = e29150e03963e290241aad0537a3234de748f9fd
ChangeLog:
@echo Creating $@ based on git log
@if test -d "$(srcdir)/.git"; then \
(GIT_DIR=$(top_srcdir)/.git ./missing --run \
git log $(CHANGELOG_START)..HEAD --stat) | fmt --split-only > $@ \
|| ($(RM) $@; \
echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
(test -f $@ || echo git-log is required to generate this file >> $@)); \
else \
test -f $@ || \
(echo A git checkout and git-log is required to generate ChangeLog >&2 && \
echo A git checkout and git-log is required to generate this file >> $@); \
fi
README: README.md
fgrep -v "[Build Status]" $< \
| markdown \
| html2text -style pretty -nobs \
| sed -e 's:>:>:g' \
> $@