mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-01-27 09:43:41 +00:00
* mainMakefile: Check that INSTALL exists in the dist file
For some reason the INSTALL file symlinked to gnulib was omitted from the 4.3 release package: I can't reproduce this but check for it.
This commit is contained in:
parent
d79fe162c0
commit
c604e53a45
1 changed files with 20 additions and 0 deletions
|
@ -227,6 +227,26 @@ get-doc/make-stds.texi get-doc/fdl.texi:
|
||||||
&& $(move_if_change)
|
&& $(move_if_change)
|
||||||
|
|
||||||
|
|
||||||
|
# ---------------------------- #
|
||||||
|
# Extra configuration checks. #
|
||||||
|
# ---------------------------- #
|
||||||
|
|
||||||
|
# When I released 4.3 somehow the INSTALL file was missing.
|
||||||
|
# When I tried to build it again, it was there. I have no idea what happened
|
||||||
|
# but add a new check to be sure it doesn't happen again.
|
||||||
|
mk_dist_files = INSTALL
|
||||||
|
|
||||||
|
dist: mk-distcheck
|
||||||
|
|
||||||
|
.PHONY: mk-distcheck
|
||||||
|
mk-distcheck: distdir
|
||||||
|
@echo "Checking for extra installed files..."
|
||||||
|
for fn in $(mk_dist_files); do \
|
||||||
|
test -f '$(distdir)'/"$$fn" \
|
||||||
|
|| { echo "Missing dist file: $$fn"; exit 1; }; \
|
||||||
|
done; true
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------- #
|
# ---------------------------------- #
|
||||||
# Alternative configuration checks. #
|
# Alternative configuration checks. #
|
||||||
# ---------------------------------- #
|
# ---------------------------------- #
|
||||||
|
|
Loading…
Reference in a new issue