Can't use 'true' in Makefiles
[automake.git] / dist-subd.am
blob4c0a0c4321c9be6aced44854184b910e15b5374a
1 distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
2 dist: $(DISTFILES)
3         @for file in $(DISTFILES); do           \
4 ## See dist-subd-top.am to understand this.
5           test -f $(distdir)/$$file || {        \
6             echo linking $$file;                \
7             ln $(srcdir)/$$file $(distdir)/$$file; \
8           } || {                                \
9             echo copying $$file instead;        \
10             cp -p $(srcdir)/$$file $(distdir)/$$file; \
11           };                                    \
12         done