summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/Makefile.am')
-rw-r--r--Build/source/texk/web2c/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/Makefile.am b/Build/source/texk/web2c/Makefile.am
index 0b386fd17b9..d3b3c51e2e3 100644
--- a/Build/source/texk/web2c/Makefile.am
+++ b/Build/source/texk/web2c/Makefile.am
@@ -35,9 +35,11 @@ bin_links =
install_exe_links =
uninstall_exe_links =
-# 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`
## The sh script that does the conversion.
web2c = $(SHELL) ./web2c-sh $@