summaryrefslogtreecommitdiff
path: root/Build/source/utils/pmx/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/pmx/Makefile.am')
-rw-r--r--Build/source/utils/pmx/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/utils/pmx/Makefile.am b/Build/source/utils/pmx/Makefile.am
index ac77e0e6d0e..a08799e00a6 100644
--- a/Build/source/utils/pmx/Makefile.am
+++ b/Build/source/utils/pmx/Makefile.am
@@ -10,9 +10,13 @@ EXTRA_DIST = $(PMX_TREE)
## Patches applied to the original source tree
EXTRA_DIST += $(PMX_TREE)-PATCHES
-# in case of an SVN repository
dist-hook:
- rm -rf `find $(distdir) -name .svn`
+ cd "$(distdir)" && rm -rf $(NEVER_DIST)
+
+## in case of an SVN repository
+NEVER_DIST = `find . -name .svn`
+
+NEVER_DIST += $(PMX_TREE)/pmx.log $(PMX_TREE)/pmx.trs
AM_CPPFLAGS = -I$(srcdir)/$(PMX_TREE)/libf2c $(PMX_DEFINES)
AM_CFLAGS = #$(WARNING_CFLAGS)