Upstream tarball 20080823
[amule.git] / automake / dist-hook.am
blob1b13144aa486384fbbcb5891daa95d06ac6a9fc3
1 dist-hook:
2         test -z "$(EXTRA__DIST__SUBDIRS)" || \
3         for d in $(EXTRA__DIST__SUBDIRS) ; do \
4                 mkdir $(distdir)/$$d ; \
5                 for f in `find $(srcdir)/$$d -name '.svn' -prune -o -printf "%P\n"` ; do \
6                         if test -d $(srcdir)/$$d/$$f ; then \
7                                 mkdir $(distdir)/$$d/$$f ; \
8                         else \
9                                 cp -p $(srcdir)/$$d/$$f $(distdir)/$$d/$$f ; \
10                         fi ; \
11                 done ; \
12         done