diff src/gl2ps.mk @ 3324:79b4fa46e4dd

Fix building of gl2ps so it doesn't spray files everywhere. * src/gl2ps-1-fixes.patch: Don't place doc files at the top-level directory. Put them in share/doc/gl2ps as they should be. * src/gl2ps.mk: Install dll file to bin directory on MinGW, not lib directory.
author Rik <rik@octave.org>
date Thu, 14 Nov 2013 08:15:49 -0800
parents 11b0cdb6fba7
children 13be64f9f16d
line wrap: on
line diff
--- a/src/gl2ps.mk	Thu Nov 14 07:46:10 2013 -0800
+++ b/src/gl2ps.mk	Thu Nov 14 08:15:49 2013 -0800
@@ -59,7 +59,8 @@
       if [ $(MXE_SYSTEM) = mingw ]; then \
         echo "Install dll"; \
         $(INSTALL) -d '$(3)$(HOST_BINDIR)'; \
-        $(INSTALL) '$(1)/libgl2ps.dll' '$(3)$(HOST_BINDIR)/'; \
+        $(INSTALL) '$(3)$(HOST_LIBDIR)/libgl2ps.dll' '$(3)$(HOST_BINDIR)/'; \
+        rm -f '$(3)$(HOST_LIBDIR)/libgl2ps.dll'; \
       fi; \
     fi
 endef