view src/gl2ps-1-fixes.patch @ 3409:5e77c5fc91ed

qt: build translations in cross build and install * src/qt.mk: in cross compile configure options, set translate path and -make option. * makeinst-script.sh: Add createion and removal of libexec\octave\octave-version\qt.conf
author John Donoghue <john.donoghue@ieee.org>
date Fri, 10 Jan 2014 21:22:39 -0500
parents 79b4fa46e4dd
children
line wrap: on
line source

--- gl2ps-1.3.8-source/CMakeLists.txt	2012-11-27 11:41:06.000000000 -0800
+++ gl2ps-1.3.8-mod/CMakeLists.txt	2013-11-14 07:53:29.478371844 -0800
@@ -125,11 +125,7 @@
   install(TARGETS lib shared DESTINATION lib${LIB_SUFFIX})
 endif(OPENGL_FOUND)
 
-if(WIN32)
-  set(GL2PS_DOC .)
-else(WIN32)
-  set(GL2PS_DOC share/doc/gl2ps)
-endif(WIN32)
+set(GL2PS_DOC share/doc/gl2ps)
 
 install(FILES gl2ps.h DESTINATION include)
 install(FILES ${CMAKE_SOURCE_DIR}/README.txt DESTINATION ${GL2PS_DOC})