aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-11-09 20:36:56 +0100
committerGitHub <noreply@github.com>2020-11-09 20:36:56 +0100
commitbcfb1940602bf4da9be9e7e8423645ef8c627633 (patch)
tree108af6abf9a1c1d96ed088a9a58a0432e1309dbc
parent848ee7b6a8bf56a9d967f104ba2ef2ad92dc48d5 (diff)
parentc87ace69083f9730e0ff675048c0b29f227a6853 (diff)
downloadPROJ-bcfb1940602bf4da9be9e7e8423645ef8c627633.tar.gz
PROJ-bcfb1940602bf4da9be9e7e8423645ef8c627633.zip
Merge pull request #2417 from rouault/refresh_COPYING
COPYING: update and install COPYING, NEWS and AUTHORS
-rw-r--r--CMakeLists.txt4
-rw-r--r--COPYING18
-rw-r--r--Makefile.am2
-rw-r--r--cmake/ProjInstallPath.cmake2
4 files changed, 16 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a75aa578..ee1444a4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -277,3 +277,7 @@ add_subdirectory(cmake)
if(BUILD_TESTING)
add_subdirectory(test)
endif()
+
+set(docfiles COPYING NEWS AUTHORS)
+install(FILES ${docfiles}
+ DESTINATION "${DOCDIR}")
diff --git a/COPYING b/COPYING
index fa371748..d46f95cd 100644
--- a/COPYING
+++ b/COPYING
@@ -1,18 +1,19 @@
-All source, data files and other contents of the PROJ.4 package are
+All source, data files and other contents of the PROJ package are
available under the following terms. Note that the PROJ 4.3 and earlier
was "public domain" as is common with US government work, but apparently
-this is not a well defined legal term in many countries. I am placing
-everything under the following MIT style license because I believe it is
+this is not a well defined legal term in many countries. Frank Warmerdam placed
+everything under the following MIT style license because he believed it is
effectively the same as public domain, allowing anyone to use the code as
-they wish, including making proprietary derivatives.
+they wish, including making proprietary derivatives.
-Though I have put my own name as copyright holder, I don't mean to imply
-I did the work. Essentially all work was done by Gerald Evenden.
+Initial PROJ 4.3 public domain code was put as Frank Warmerdam as copyright
+holder, but he didn't mean to imply he did the work. Essentially all work was
+done by Gerald Evenden.
- --------------
+Copyright information can be found in source files.
- Copyright (c) 2000, Frank Warmerdam
+ --------------
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
@@ -31,4 +32,3 @@ I did the work. Essentially all work was done by Gerald Evenden.
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
-
diff --git a/Makefile.am b/Makefile.am
index 8507afe9..4f78ff32 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,6 +3,8 @@ DIST_SUBDIRS = include src man data cmake test
EXTRA_DIST = CMakeLists.txt CITATION README.md
+dist_doc_DATA = COPYING NEWS AUTHORS
+
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = proj.pc
diff --git a/cmake/ProjInstallPath.cmake b/cmake/ProjInstallPath.cmake
index 4c63d658..b7f7b821 100644
--- a/cmake/ProjInstallPath.cmake
+++ b/cmake/ProjInstallPath.cmake
@@ -29,7 +29,7 @@ if(UNIX)
set(DEFAULT_LIB_SUBDIR ${CMAKE_INSTALL_LIBDIR})
set(DEFAULT_DATA_SUBDIR ${CMAKE_INSTALL_DATAROOTDIR}/proj)
set(DEFAULT_INCLUDE_SUBDIR ${CMAKE_INSTALL_INCLUDEDIR})
- set(DEFAULT_DOC_SUBDIR ${CMAKE_INSTALL_DOCDIR})
+ set(DEFAULT_DOC_SUBDIR share/doc/${PROJECT_NAME_LOWER})
set(DEFAULT_CMAKE_SUBDIR ${CMAKE_INSTALL_LIBDIR}/cmake)
else()
# Common locations for Unix and Mac OS X