Added clean targets.
[automake.git] / dist-subd.am
blob65d564a1f4b23ba800840228ef558b27d423f71b
1 distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
2 dist: $(DIST_FILES)
3         @for file in $(DIST_FILES); do          \
4           test -f $(distdir)/$$file || {        \
5             echo linking $$file;                \
6             ln $(srcdir)/$$file $(distdir)/$$file; \
7           } || {                                \
8             echo copying $$file instead;        \
9             cp -p $(srcdir)/$$file $(distdir)/$$file; \
10           };                                    \
11         done