Commit 4aac99e0 authored by Frank Siegert's avatar Frank Siegert
Browse files

Fix out-of-source make dist for HADRONS/Decaydata

parent bd0576b6
......@@ -31,20 +31,19 @@ uninstall-local:
fi;
dist-hook:
cd $(srcdir); \
for i in Decaydata/*; do \
if test -d $$i; then \
mkdir -p $(distdir)/$$i; \
for j in $$i/*.dat; do \
cp $$j $(distdir)/$$i/; \
for i in $$(ls $(srcdir)/Decaydata); do \
if test -d $(srcdir)/Decaydata/$$i; then \
mkdir -p $(distdir)/Decaydata/$$i; \
for j in $(srcdir)/Decaydata/$$i/*.dat; do \
cp $$j $(distdir)/Decaydata/$$i/; \
done; \
if test -d $$i/PhaseSpaceFunctions; then \
cp -rf $$i/PhaseSpaceFunctions $(distdir)/$$i/; \
if test -d $(srcdir)/Decaydata/$$i/PhaseSpaceFunctions; then \
cp -rf $(srcdir)/Decaydata/$$i/PhaseSpaceFunctions $(distdir)/Decaydata/$$i/; \
if test "x@SVNINCLUDE@" == "x"; then \
rm -rf "$(distdir)/$$i/PhaseSpaceFunctions/.svn"; \
rm -rf "$(distdir)/Decaydata/$$i/PhaseSpaceFunctions/.svn"; \
fi; \
fi; \
else \
cp $(srcdir)/Decaydata/$$i $(distdir)/Decaydata/; \
fi; \
done; \
cp Decaydata/*.dat $(distdir)/Decaydata/; \
cd -;
done;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment