diff options
author | David J. MacKenzie <djm@gnu.org> | 1994-09-28 17:26:21 +0000 |
---|---|---|
committer | David J. MacKenzie <djm@gnu.org> | 1994-09-28 17:26:21 +0000 |
commit | 9769db08c82388761301a212f68eece54fffc209 (patch) | |
tree | dba7ae5711be3c62b2613aaff90e5dbd9799606b /dist-subd-top.am | |
parent | eb5fc858f66a2044cacd3b25792d2d7e7164ca84 (diff) | |
download | automake-9769db08c82388761301a212f68eece54fffc209.tar.gz |
Initial revision
Diffstat (limited to 'dist-subd-top.am')
-rw-r--r-- | dist-subd-top.am | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dist-subd-top.am b/dist-subd-top.am new file mode 100644 index 000000000..e9116d449 --- /dev/null +++ b/dist-subd-top.am @@ -0,0 +1,13 @@ +dist: $(DIST_FILES) distname + rm -rf `cat distname`; mkdir `cat distname` + @for file in $(DIST_FILES); do \ + echo linking $$file; \ + ln $(srcdir)/$$file `cat distname` || \ + { echo copying $$file instead; cp -p $(srcdir)/$$file `cat distname`;}; \ + done + for subdir in $(SUBDIRS); do \ + (cd $$subdir; $(MAKE) subdir=$$subdir $@); done + chmod -R a+r `cat distname` + tar -chozf `cat distname`.tar.gz `cat distname` + rm -rf `cat distname` distname + |