+distdir = $(PACKAGE)-$(VERSION)/$(subdir)
dist: $(DIST_FILES) $(DIST_DIRS)
- -mkdir ../`cat ../distname`/$(subdir)
@for file in $(DIST_FILES); do \
echo linking $$file; \
- ln $(srcdir)/$$file ../`cat ../distname`/$(subdir)/$$file || \
- { echo copying $$file instead; cp -p $(srcdir)/$$file ../`cat ../distname`/$(subdir)/$$file;}; \
+ ln $(srcdir)/$$file $(distdir)/$$file || \
+ { echo copying $$file instead; cp -p $(srcdir)/$$file $(distdir)/$$file;}; \
done