cat $AM_DIR/dist-subd.am >&5 ;;
*) test "$target_distname" != explicit && cat $AM_DIR/distname.am >&5
cat $AM_DIR/dist-vars.am >&4
- cat $AM_DIR/dist.am >&5 ;;
+ if test -n "SUBDIRS"; then cat $AM_DIR/dist-subd-top.am >&5
+ else cat $AM_DIR/dist.am >&5; fi ;;
esac
cat $AM_DIR/footer.am >&5
ln $(srcdir)/$$file `cat distname` || \
{ echo copying $$file instead; cp -p $(srcdir)/$$file `cat distname`;}; \
done
- if test -n "$(SUBDIRS)"; then \
- for subdir in $(SUBDIRS); do \
- (cd $$subdir; $(MAKE) subdir=$$subdir $@); done; \
- fi
chmod -R a+r `cat distname`
tar -chozf `cat distname`.tar.gz `cat distname`
rm -rf `cat distname` distname