summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/mfluadir
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2015-07-03 08:56:39 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2015-07-03 08:56:39 +0000
commit427855f6f99e9044c3496248c1f47f8a28ac10fc (patch)
treed47c78e5af65086d4e5f64bc41d76bb988f3d05f /Build/source/texk/web2c/mfluadir
parent8668b871887c39f8aae7f3a8b6793ef4d7334c22 (diff)
METAFONT: Always create mf*-nowin, either as separate program or as symlink
git-svn-id: svn://tug.org/texlive/trunk@37742 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/mfluadir')
-rw-r--r--Build/source/texk/web2c/mfluadir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/mfluadir/am/mflua.am27
2 files changed, 28 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/mfluadir/ChangeLog b/Build/source/texk/web2c/mfluadir/ChangeLog
index 8a54f22f98e..61fc5d1c586 100644
--- a/Build/source/texk/web2c/mfluadir/ChangeLog
+++ b/Build/source/texk/web2c/mfluadir/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-03 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * am/mflua.am: Always create mflua-nowin, either as extra
+ program or as symlink.
+
2015-07-02 Peter Breitenlohner <peb@mppmu.mpg.de>
* mfluatraptest: Directly use mfluatrap/*.lua files.
diff --git a/Build/source/texk/web2c/mfluadir/am/mflua.am b/Build/source/texk/web2c/mfluadir/am/mflua.am
index 14a52bb95ff..8b4546ae716 100644
--- a/Build/source/texk/web2c/mfluadir/am/mflua.am
+++ b/Build/source/texk/web2c/mfluadir/am/mflua.am
@@ -11,17 +11,36 @@ if MFLUAN
bin_PROGRAMS += mflua-nowin
endif MFLUAN
if WIN32
-bin_PROGRAMS += inimflua
+noinst_PROGRAMS += call_mflua
+install_exe_links += install-mflua-links
+uninstall_exe_links += uninstall-mflua-links
else !WIN32
+if !MFLUAN
+bin_links += mflua$(EXEEXT):mflua-nowin
+endif !MFLUAN
bin_links += mflua$(EXEEXT):inimflua
endif !WIN32
endif MFLUA
EXTRA_PROGRAMS += mflua mflua-nowin
DISTCLEANFILES += mfluatrap.diffs
-inimflua_CPPFLAGS = -DEXEPROG=\"mflua.exe\"
-nodist_inimflua_SOURCES = callexe.c
-inimflua_LDADD =
+call_mflua_CPPFLAGS = -DEXEPROG=\"mflua.exe\"
+nodist_call_mflua_SOURCES = callexe.c
+call_mflua_LDADD =
+
+.PHONY: install-mflua-links uninstall-mflua-links
+if WIN32
+install-mflua-links: call_mflua$(EXEEXT)
+if !MFLUAN
+ $(INSTALL_PROGRAM) call_mflua$(EXEEXT) $(DESTDIR)$(bindir)/mflua-nowin$(EXEEXT)
+endif !MFLUAN
+ $(INSTALL_PROGRAM) call_mflua$(EXEEXT) $(DESTDIR)$(bindir)/inimflua$(EXEEXT)
+uninstall-mflua-links:
+if !MFLUAN
+ rm -f $(DESTDIR)$(bindir)/mflua-nowin$(EXEEXT)
+endif !MFLUAN
+ rm -f $(DESTDIR)$(bindir)/inimflua$(EXEEXT)
+endif WIN32
dist_mflua_SOURCES = mfluadir/mfluaextra.c mfluadir/mfluaextra.h mfluadir/mflua_version.h
mflua_CPPFLAGS = $(AM_CPPFLAGS) $(X_CFLAGS) $(LUA_INCLUDES)