diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-02-16 08:31:26 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-02-16 08:31:26 +0000 |
commit | f1c5af87642ccf5926a7574a1c4d63aa2ec02eac (patch) | |
tree | 0ce430c53ea51e9459b24dccdb222e27c09c84ca /Build/source/texk/web2c/omegafonts/Makefile.am | |
parent | ad965c9834760b831f22c64d83999aa9b6862d1a (diff) |
Build and install WIN32/MINGW32 wrapper binaries
where Unix uses symlinks such as dvilj6->dvilj4
git-svn-id: svn://tug.org/texlive/trunk@21414 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/omegafonts/Makefile.am')
-rw-r--r-- | Build/source/texk/web2c/omegafonts/Makefile.am | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/omegafonts/Makefile.am b/Build/source/texk/web2c/omegafonts/Makefile.am index 265d54c8216..fb55ec6d3f7 100644 --- a/Build/source/texk/web2c/omegafonts/Makefile.am +++ b/Build/source/texk/web2c/omegafonts/Makefile.am @@ -1,9 +1,9 @@ ## Makefile.am for the TeX Live subdirectory texk/web2c/omegafonts/ ## -## Copyright (C) 2009, 2010 Peter Breitenlohner <tex-live@tug.org> +## Copyright (C) 2009 - 2011 Peter Breitenlohner <tex-live@tug.org> ## You may freely use, modify and/or distribute this file. ## -INCLUDES = -I$(top_builddir)/.. -I$(top_srcdir) $(KPATHSEA_INCLUDES) -DNOT_WEB2C +AM_CPPFLAGS = -I$(top_builddir)/.. -I$(top_srcdir) $(KPATHSEA_INCLUDES) -DNOT_WEB2C AM_CFLAGS = $(WARNING_CFLAGS) AM_YFLAGS = -d -v @@ -20,6 +20,9 @@ bin_PROGRAMS = if OTANGLE if OMFONTS bin_PROGRAMS += omfonts +if WIN32 +noinst_PROGRAMS = call_omfonts +endif WIN32 endif OMFONTS endif OTANGLE EXTRA_PROGRAMS = omfonts @@ -62,6 +65,12 @@ omfonts_SOURCES = \ LDADD = $(proglib) $(KPATHSEA_LIBS) omfonts_DEPENDENCIES = $(proglib) $(KPATHSEA_DEPEND) +call_omfonts_CPPFLAGS = -DEXEPROG=\"omfonts.exe\" + +call_omfonts_SOURCES = $(top_srcdir)/../texlive/w32_wrapper/callexe.c + +call_omfonts_LDADD = + DISTCLEANFILES = pl-parser.output linked_programs = ofm2opl opl2ofm ovf2ovp ovp2ovf @@ -69,11 +78,17 @@ linked_programs = ofm2opl opl2ofm ovf2ovp ovp2ovf if OTANGLE if OMFONTS install-exec-hook: +if WIN32 + for f in $(linked_programs); do \ + $(INSTALL_PROGRAM) call_omfonts$(EXEEXT) $(DESTDIR)$(bindir)/$$f$(EXEEXT) || exit 1; \ + done +else !WIN32 cd $(DESTDIR)$(bindir) && \ for f in $(linked_programs); do \ rm -f $$f$(EXEEXT) && \ $(LN_S) omfonts$(EXEEXT) $$f$(EXEEXT) || exit 1; \ done +endif !WIN32 uninstall-hook: for f in $(linked_programs); do \ rm -f $(DESTDIR)$(bindir)/$$f$(EXEEXT); \ |