From 6be9f4dc7c015da2a94183970394935fd6ae72a2 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Wed, 29 Apr 2009 14:34:22 +0000 Subject: fix Cygwin and Solaris build problems git-svn-id: svn://tug.org/texlive/trunk@12856 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/dvipng/Makefile.am | 11 ++++++++--- Build/source/texk/dvipng/Makefile.in | 11 ++++++++--- 2 files changed, 16 insertions(+), 6 deletions(-) (limited to 'Build/source/texk/dvipng') diff --git a/Build/source/texk/dvipng/Makefile.am b/Build/source/texk/dvipng/Makefile.am index ea8b86f8fba..71a72ba252a 100644 --- a/Build/source/texk/dvipng/Makefile.am +++ b/Build/source/texk/dvipng/Makefile.am @@ -111,13 +111,18 @@ dist_noinst_SCRIPTS = texi2pod.pl if have_gif install-exec-hook: - cd $(DESTDIR)/$(bindir) && rm -f dvigif && $(LN_S) dvipng dvigif + cd $(DESTDIR)$(bindir) && \ + rm -f dvigif$(EXEEXT) && \ + $(LN_S) dvipng$(EXEEXT) dvigif$(EXEEXT) install-data-hook: - cd $(DESTDIR)/$(man1dir) && rm -f dvigif.1 && $(LN_S) dvipng.1 dvigif.1 + cd $(DESTDIR)$(man1dir) && \ + rm -f dvigif.1 && \ + $(LN_S) dvipng.1 dvigif.1 uninstall-hook: - rm -f $(DESTDIR)/$(bindir)/dvigif $(DESTDIR)/$(man1dir)/dvigif.1 + rm -f $(DESTDIR)$(bindir)/dvigif$(EXEEXT) + rm -f $(DESTDIR)$(man1dir)/dvigif.1 endif have_gif diff --git a/Build/source/texk/dvipng/Makefile.in b/Build/source/texk/dvipng/Makefile.in index 9139836c718..610f1f5d6dd 100644 --- a/Build/source/texk/dvipng/Makefile.in +++ b/Build/source/texk/dvipng/Makefile.in @@ -1058,13 +1058,18 @@ README: readme.texi -o $@ $< @have_gif_TRUE@install-exec-hook: -@have_gif_TRUE@ cd $(DESTDIR)/$(bindir) && rm -f dvigif && $(LN_S) dvipng dvigif +@have_gif_TRUE@ cd $(DESTDIR)$(bindir) && \ +@have_gif_TRUE@ rm -f dvigif$(EXEEXT) && \ +@have_gif_TRUE@ $(LN_S) dvipng$(EXEEXT) dvigif$(EXEEXT) @have_gif_TRUE@install-data-hook: -@have_gif_TRUE@ cd $(DESTDIR)/$(man1dir) && rm -f dvigif.1 && $(LN_S) dvipng.1 dvigif.1 +@have_gif_TRUE@ cd $(DESTDIR)$(man1dir) && \ +@have_gif_TRUE@ rm -f dvigif.1 && \ +@have_gif_TRUE@ $(LN_S) dvipng.1 dvigif.1 @have_gif_TRUE@uninstall-hook: -@have_gif_TRUE@ rm -f $(DESTDIR)/$(bindir)/dvigif $(DESTDIR)/$(man1dir)/dvigif.1 +@have_gif_TRUE@ rm -f $(DESTDIR)$(bindir)/dvigif$(EXEEXT) +@have_gif_TRUE@ rm -f $(DESTDIR)$(man1dir)/dvigif.1 # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: -- cgit v1.2.3