diff options
author | Tom Tromey <tromey@redhat.com> | 1995-11-13 19:30:22 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 1995-11-13 19:30:22 +0000 |
commit | 7b69643b53d960863cd1b3ad335b3bf894d58eea (patch) | |
tree | 049fcd8ff9f261653fca7368c9b56b8ffcd8a153 /dist-subd-top.am | |
parent | 776d2ab5c25c8e5f653799536f61e7b84d3f4cbd (diff) | |
download | automake-7b69643b53d960863cd1b3ad335b3bf894d58eea.tar.gz |
(dist): Handle DIST_SUBDIRS
Diffstat (limited to 'dist-subd-top.am')
-rw-r--r-- | dist-subd-top.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dist-subd-top.am b/dist-subd-top.am index 23291d1e6..382a1952a 100644 --- a/dist-subd-top.am +++ b/dist-subd-top.am @@ -12,6 +12,11 @@ dist: $(DIST_FILES) $(DIST_DIRS) chmod 777 $(distdir)/$$subdir; \ (cd $$subdir; $(MAKE) subdir=$$subdir $@) || exit 1; \ done + @sublist=$(DIST_SUBDIRS); \ + for dir in $$sublist; do \ + echo copying directory $$dir; \ + tar cf - $$dir | (cd $(distdir); tar xBpf -); \ + done chmod -R a+r $(distdir) tar -chozf $(distdir).tar.gz $(distdir) rm -rf $(distdir) |