mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-26 09:06:38 +12:00

* ChangeLog: Rename to ChangeLog-old. * Makefile.am (ChangeLog): New rule. * .gitignore: New file. * gitlog-to-changelog: Import from gnulib.
33 lines
725 B
Makefile
33 lines
725 B
Makefile
HELP2MAN = help2man -N
|
|
|
|
all:
|
|
|
|
check: check-guess check-sub
|
|
|
|
manpages: doc/config.guess.1 doc/config.sub.1
|
|
|
|
check-guess:
|
|
cd testsuite && bash config-guess.sh && rm uname
|
|
|
|
check-sub:
|
|
cd testsuite && bash config-sub.sh
|
|
|
|
shellcheck:
|
|
shellcheck -f gcc config.guess config.sub testsuite/*.sh
|
|
|
|
sort:
|
|
for f in config-guess.data config-sub.data ; do sort testsuite/$$f -o testsuite/$$f; done
|
|
|
|
doc/%.1: % doc/%.x
|
|
$(HELP2MAN) --include=doc/$<.x --output=$@ ./$<
|
|
|
|
gen_changelog_start_date = 2020-12-21 12:21
|
|
.PHONY: ChangeLog
|
|
ChangeLog:
|
|
@rm -f $@.new
|
|
{ ./gitlog-to-changelog --append-dot \
|
|
--since='$(gen_changelog_start_date)' && \
|
|
echo && echo && echo 'See ChangeLog-old for older changes.'; \
|
|
} > $@.new
|
|
mv -f $@.new $@
|