cat $AM_DIR/footer.am >&5
- sed '/^ *\([a-zA-Z_.][a-zA-Z0-9_. ]*\):.*/,$d' ${am_makefile}.am >&4
- sed -n '/^ *\([a-zA-Z_.][a-zA-Z0-9_. ]*\):.*/,$p' ${am_makefile}.am >&5
+ sed '/^[^#=]*:/,$d' ${am_makefile}.am >&4
+ sed -n '/^[^#=]*:/,$p' ${am_makefile}.am >&5
cat ${am_makefile}.vars ${am_makefile}.rules > ${am_makefile}.in
rm -f ${am_makefile}.vars ${am_makefile}.rules
dist: $(DIST_FILES)
mkdir ../`cat ../distname`/$(subdir)
- @echo "Copying distribution files"
@for file in $(DIST_FILES); do \
- cp -p $(srcdir)/$$file ../`cat ../distname`/$(subdir); \
+ echo linking $$file; \
+ ln $(srcdir)/$$file ../`cat ../distname`/$(subdir) || \
+ { echo copying $$file instead; cp -p $(srcdir)/$$file ../`cat ../distname`/$(subdir);}; \
done
dist: $(DIST_FILES) distname
rm -rf `cat distname`; mkdir `cat distname`
- @echo "Copying distribution files"
@for file in $(DIST_FILES); do \
- cp -p $(srcdir)/$$file `cat distname`; \
+ echo linking $$file; \
+ 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 \