diff options
author | Roland McGrath <roland@gnu.org> | 1993-05-05 20:06:21 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1993-05-05 20:06:21 +0000 |
commit | 1b16f4b7c6ad75990e62897315c91e87468f8fae (patch) | |
tree | 881bab72f0ae5a8a5b0ec425d880a1a4cd9e2e2a /Make-dist | |
parent | 08ca1b3e05783a55fc9518d2594b375ece14232b (diff) |
Formerly ../Make-dist.~51~
Diffstat (limited to 'Make-dist')
-rw-r--r-- | Make-dist | 20 |
1 files changed, 14 insertions, 6 deletions
@@ -146,29 +146,34 @@ foo:=$(shell echo '+sysdep-dist=$(+sysdep-dist)' >&2) subdirs := $(filter-out crypt,$(subdirs)) -+sysdep-tsrcs := $(wildcard $(foreach file,Makefile Implies,\ ++sysdep-tsrcs := $(wildcard $(foreach file,Makefile Implies \ + configure configure.in,\ $(addsuffix /$(file),$(sysdep_dirs)))) \ $(+sysdep-dist) +tsrcs := $(+tsrcs) $(+sysdep-tsrcs) +%/configure: %/configure.in + autoconf $(ACFLAGS) + .PHONY: dist # N.B.: The order in which these are done matters (so don't use -j). MAKEFLAGS = -j1 # I wonder if that works. -dist: dist.tar subdir_dist de-.. dist.tar.Z \ - $(tardir).tar.Z $(tardir)-crypt.tar.Z +dist: dist.tar subdir_dist de-.. dist.tar.z \ + $(tardir).tar.z $(tardir)-crypt.tar.z -$(tardir).tar.Z: dist.tar.Z +$(tardir).tar.z: dist.tar.z ln $< $@ -$(tardir)-crypt.tar.Z: crypt/crypt.tar.Z +$(tardir)-crypt.tar.z: crypt/crypt.tar.z ln $< $@ crypt/%: FORCE $(MAKE) -C $(@D) $(@F) FORCE: dist.tar: $(tardir) $(+tsrcs) - tar ch$(verbose)f $@ $(addprefix $(tardir)/,$(filter-out $(tardir),$^)) + tar cho$(verbose)f $@ \ + $(addprefix $(tardir)/,$(filter-out $(tardir),$^)) de-..: dist.tar tar xf $< -C /tmp @@ -178,6 +183,9 @@ de-..: dist.tar %.Z: % compress -c $< > $@ +%.z: % + gzip -9 -c $< > $@ + foo:=$(shell echo 'subdirs=$(subdirs)' >&2) dist-subdirs := $(addprefix dist-,$(subdirs)) # dist-manual .PHONY: subdir_dist $(dist-subdirs) |