summaryrefslogtreecommitdiff
path: root/Build/source/texk/tetex/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/tetex/Makefile.am')
-rw-r--r--Build/source/texk/tetex/Makefile.am23
1 files changed, 20 insertions, 3 deletions
diff --git a/Build/source/texk/tetex/Makefile.am b/Build/source/texk/tetex/Makefile.am
index c4d9bf0f8b9..46541eaa7ae 100644
--- a/Build/source/texk/tetex/Makefile.am
+++ b/Build/source/texk/tetex/Makefile.am
@@ -5,8 +5,7 @@
##
ACLOCAL_AMFLAGS = -I ../../m4
-if !WIN32
-dist_bin_SCRIPTS = \
+shell_scripts = \
allcm \
allneeded \
dvi2fax \
@@ -26,8 +25,26 @@ dist_bin_SCRIPTS = \
texlinks \
updmap \
updmap-sys
+
+## Handled as alias by runscript.tlu
+win32_aliases = \
+ fontinst.exe
+
+if WIN32
+if WIN32_WRAP
+## We treat the WIN32 aliases as SCRIPTS to avoid automatic build rules
+nodist_bin_SCRIPTS = $(win32_aliases)
+runscript = $(srcdir)/../texlive/w32_wrapper/runscript.exe
+$(win32_aliases): $(runscript)
+ $(LN_S) $(runscript) $@
+endif WIN32_WRAP
+else !WIN32
+nodist_bin_SCRIPTS = $(shell_scripts)
endif !WIN32
+EXTRA_DIST = $(shell_scripts)
+CLEANFILES = $(win32_aliases)
+
dist_man1_MANS = \
allcm.man \
allec.man \
@@ -119,7 +136,7 @@ endif !WIN32
rm -f $(DESTDIR)$(man1dir)/$$link.1; \
done
-EXTRA_DIST = \
+EXTRA_DIST += \
README.texdoctk
## Not used