EXTRA_DIST = $(wildcard doc/*.txt $(srcdir)/doc/*.txt) # Better.
-* The variables $(DISTFILES), $(DIST_COMMON) and $(DIST_SOURCES) had
- never been documented in mainline Automake, and were always intended
- to be internal variables. But that was not clear from their names.
- So we have renamed rename like this:
-
- DISTFILES => am.dist.all-files
- DIST_COMMON => am.dist.common-files
- DIST_SOURCES => am.dist.sources
+* The make variables $(DISTFILES), $(DIST_COMMON), $(DIST_SOURCES),
+ $(DIST_TARGETS), $(DIST_ARCHIVES) had never been documented
+ in mainline Automake, and were always intended to be internal
+ variables. But that was not clear from their names. So we have
+ renamed rename like this:
+
+ DISTFILES => am.dist.all-files
+ DIST_COMMON => am.dist.common-files
+ DIST_SOURCES => am.dist.sources
+ DIST_TARGETS => am.dist.default-targets
+ DIST_ARCHIVES => am.dist.default-archives
Do not use any of these variables in your Makefiles!
# commit v0.0-7569-gec58403). So keep it.
GZIP_ENV = --best
-DIST_TARGETS = $(foreach x,$(am.dist.formats),dist-$x)
-DIST_ARCHIVES = $(foreach x,$(am.dist.formats),$(distdir).$(am.dist.ext.$x))
+am.dist.default-targets = \
+ $(foreach x,$(am.dist.formats),dist-$x)
+am.dist.default-archives = \
+ $(foreach x,$(am.dist.formats),$(distdir).$(am.dist.ext.$x))
.PHONY: $(am.dist.all-targets)
$(am.dist.all-targets): dist-%: distdir
.PHONY: dist dist-all
dist dist-all:
- $(MAKE) $(DIST_TARGETS) am.dist.post-remove-distdir='@:'
+ $(MAKE) $(am.dist.default-targets) am.dist.post-remove-distdir='@:'
$(am.dist.post-remove-distdir)
&& rm -rf "$$dc_destdir" \
&& $(MAKE) dist \
## Make sure to remove the dists we created in the test build directory.
- && rm -rf $(DIST_ARCHIVES) \
+ && rm -rf $(am.dist.default-archives) \
&& $(MAKE) distcleancheck
$(am.dist.post-remove-distdir)
@(echo "$(distdir) archives ready for distribution: "; \
- list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
- sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
+ list='$(am.dist.default-archives)'; \
+ for i in $$list; do echo $$i; done; \
+ ) | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
# Define distuninstallcheck_listfiles and distuninstallcheck separately
# from distcheck, so that they can be overridden by the user.