Skip to content

Commit

Permalink
build: correct coreutils-specific distcheck rules
Browse files Browse the repository at this point in the history
* dist-check.mk (built_programs): Use $(bin_PROGRAMS), not $(PROGRAMS).
Otherwise, my-instcheck would fail due to non-installation of e.g.,
the noinst_PROGRAMS, setuidgid and getlimits.
(taint-distcheck): Correct the grep command that checks for libtool
traces in configure.
  • Loading branch information
Jim Meyering committed Dec 20, 2009
1 parent 01e4f00 commit d98b1b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist-check.mk
Expand Up @@ -10,7 +10,7 @@ t=$(tmpdir)/$(PACKAGE)/test
pfx=$(t)/i pfx=$(t)/i


built_programs = \ built_programs = \
$$(echo 'spy:;@echo $$(PROGRAMS)' \ $$(echo 'spy:;@echo $$(bin_PROGRAMS)' \
| MAKEFLAGS= $(MAKE) -s -C src -f Makefile -f - spy \ | MAKEFLAGS= $(MAKE) -s -C src -f Makefile -f - spy \
| fmt -1 | sed 's,$(EXEEXT)$$,,' | sort -u) | fmt -1 | sed 's,$(EXEEXT)$$,,' | sort -u)


Expand Down Expand Up @@ -47,7 +47,7 @@ preferred_tarball_ = $(distdir).tar.$(suffix_)
# cannot deal with a space-tainted srcdir. # cannot deal with a space-tainted srcdir.
ALL_RECURSIVE_TARGETS += taint-distcheck ALL_RECURSIVE_TARGETS += taint-distcheck
taint-distcheck: $(DIST_ARCHIVES) taint-distcheck: $(DIST_ARCHIVES)
grep '^[ ]*LT_INIT' configure.ac >/dev/null && exit 0 grep '^[ ]*LT_INIT' configure.ac >/dev/null && exit 0 || :
test -d $(t_taint) && chmod -R 700 $(t_taint) || : test -d $(t_taint) && chmod -R 700 $(t_taint) || :
-rm -rf $(t_taint) $(fake_home) -rm -rf $(t_taint) $(fake_home)
mkdir -p $(t_prefix) $(t_taint) $(fake_home) mkdir -p $(t_prefix) $(t_taint) $(fake_home)
Expand Down

0 comments on commit d98b1b3

Please sign in to comment.