annotate src/gl2ps-2-docpath.patch @ 5531:eae508c12529

Add build rule for build-octave (bug #49503). * src/build-octave.mk: Add new build rule for build-octave which can be used for cross-building binary packages that depend on Octave as a build tool. * dist-files.mk: Add new file to list. * index.html: Add new package to list. * src/of-communications.mk, src/of-image.mk, src/of-mapping.mk, src/of-optiminterp.mk, src/of-sparsersb.mk, src/of-statistics.mk, src/of-windows.mk: Add optional dependency on build-octave. * configure.ac: Add new configure switch "--disable-system-octave" that is needed to build the build-octave package. * Makefile.in: Add variable "USE_SYSTEM_OCTAVE". Exclude build-octave from the default build tools and build it only if a package explicitly depends on it. Display warning about missing native Octave version only if necessary.
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 08 Sep 2020 23:04:38 +0200
parents 6914fa9bf023
children ad50ef752299
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5391
6914fa9bf023 gl2ps: dont install docs in dest root
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
1 diff -ru gl2ps-1.4.2.orig/CMakeLists.txt gl2ps-1.4.2/CMakeLists.txt
6914fa9bf023 gl2ps: dont install docs in dest root
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
2 --- gl2ps-1.4.2.orig/CMakeLists.txt 2020-04-25 16:44:55.536814745 -0400
6914fa9bf023 gl2ps: dont install docs in dest root
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
3 +++ gl2ps-1.4.2/CMakeLists.txt 2020-05-07 19:08:35.538729120 -0400
6914fa9bf023 gl2ps: dont install docs in dest root
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
4 @@ -156,7 +156,7 @@
6914fa9bf023 gl2ps: dont install docs in dest root
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
5 ARCHIVE DESTINATION lib${LIB_SUFFIX})
6914fa9bf023 gl2ps: dont install docs in dest root
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
6 endif()
6914fa9bf023 gl2ps: dont install docs in dest root
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
7
6914fa9bf023 gl2ps: dont install docs in dest root
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
8 -if(WIN32)
6914fa9bf023 gl2ps: dont install docs in dest root
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
9 +if(WIN32 AND NOT DEFINED ENV{MSYSTEM})
6914fa9bf023 gl2ps: dont install docs in dest root
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
10 set(GL2PS_DOC .)
6914fa9bf023 gl2ps: dont install docs in dest root
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
11 else()
6914fa9bf023 gl2ps: dont install docs in dest root
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
12 set(GL2PS_DOC share/doc/gl2ps)