diff options
author | Jim Meyering <meyering@fb.com> | 2021-07-11 18:34:22 -0700 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2021-07-11 19:13:42 -0700 |
commit | 314c55f0633ab80c43c4f97e1b1f954cff776f05 (patch) | |
tree | 232c51145a8f323290ec393b90611bc7f1c2d8c8 /lib | |
parent | bf22cfbe85c1e18f9919b860c491811fbac86911 (diff) | |
download | automake-314c55f0633ab80c43c4f97e1b1f954cff776f05.tar.gz |
no-dist-built-sources: fix-up
* bin/automake.in (preprocess_file): Process new option here,
(handle_dist): ... not here.
* lib/Automake/Options.pm (_is_valid_easy_option):
Remove pure-dist.
* lib/am/distdir.am: Don't factor out the duplicate-looking
$(MAKE)... command. Otherwise, many dist-using tests would fail
for me, e.g., t/aclocal-amflags.sh.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Automake/Options.pm | 1 | ||||
-rw-r--r-- | lib/am/distdir.am | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Automake/Options.pm b/lib/Automake/Options.pm index 6c07e5048..622b9ce65 100644 --- a/lib/Automake/Options.pm +++ b/lib/Automake/Options.pm @@ -290,7 +290,6 @@ sub _is_valid_easy_option ($) no-installman no-texinfo.tex nostdinc - pure-dist readme-alpha serial-tests parallel-tests diff --git a/lib/am/distdir.am b/lib/am/distdir.am index 3b60b6e0b..9bd302804 100644 --- a/lib/am/distdir.am +++ b/lib/am/distdir.am @@ -77,10 +77,11 @@ endif %?SUBDIRS% if %?DIST_BUILT_SOURCES% distdir: + $(MAKE) $(AM_MAKEFLAGS) distdir-am else !%?DIST_BUILT_SOURCES% distdir: $(BUILT_SOURCES) -endif !%?DIST_BUILT_SOURCES% $(MAKE) $(AM_MAKEFLAGS) distdir-am +endif !%?DIST_BUILT_SOURCES% distdir-am: $(DISTFILES) ## |