1 distdir = $(PACKAGE)-$(VERSION)
5 (cd $(srcdir); automake --include-deps)
6 @for file in $(DIST_FILES); do \
7 test -f $(distdir)/$$file || { \
9 ln $(srcdir)/$$file $(distdir)/$$file; \
11 echo copying $$file instead; \
12 cp -p $(srcdir)/$$file $(distdir)/$$file; \
15 @sublist="$(DIST_SUBDIRS)"; \
16 for dir in $$sublist; do \
17 echo copying directory $$dir; \
18 tar -chof - $$dir | (cd $(distdir); tar -xBpf -); \
20 chmod -R a+r $(distdir)
21 tar -chozf $(distdir).tar.gz $(distdir)