annotate src/gl2ps-2-docpath.patch @ 6183:ad50ef752299

gl2ps: dont install docs to basedir, remove unneeded manual install of files * src/gl2ps-2-docpath.patch: dont set doc dir to . when cross compiling * src/gl2ps.mk: remove unrequired mingw manual install of files
author John Donoghue <john.donoghue@ieee.org>
date Fri, 22 Apr 2022 10:27:33 -0400
parents 6914fa9bf023
children
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)
6183
ad50ef752299 gl2ps: dont install docs to basedir, remove unneeded manual install of files
John Donoghue <john.donoghue@ieee.org>
parents: 5391
diff changeset
9 +if(WIN32 AND NOT DEFINED ENV{MSYSTEM} AND NOT CMAKE_CROSSCOMPILING)
5391
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)