summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-04 17:55:47 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-04 17:57:32 +0200
commitc7dbee3704fd3e083b61ba7374de5403f59340d3 (patch)
tree48f9205f46cca4c5b4884baf4ee1b3d094b9fbfc
parent56ebd7d46132591ee9aa298b8fc4631b47dfb8ce (diff)
downloadkdiff3-c7dbee3704fd3e083b61ba7374de5403f59340d3.tar.gz
kdiff3-c7dbee3704fd3e083b61ba7374de5403f59340d3.zip
Add installation of png files for html documentation.
Clean up unused CMakeLists.txt, which have been replaced by common cmake rules for documentation. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 215dbe5916e4024ce50040ae715570f9781a035a)
-rw-r--r--doc/da/CMakeLists.txt1
-rw-r--r--doc/de/CMakeLists.txt1
-rw-r--r--doc/en/CMakeLists.txt8
-rw-r--r--doc/es/CMakeLists.txt1
-rw-r--r--doc/et/CMakeLists.txt1
-rw-r--r--doc/fr/CMakeLists.txt1
-rw-r--r--doc/html/CMakeLists.txt8
-rw-r--r--doc/it/CMakeLists.txt1
-rw-r--r--doc/nl/CMakeLists.txt1
-rw-r--r--doc/pt/CMakeLists.txt1
-rw-r--r--doc/sv/CMakeLists.txt1
11 files changed, 7 insertions, 18 deletions
diff --git a/doc/da/CMakeLists.txt b/doc/da/CMakeLists.txt
deleted file mode 100644
index 6121dc2..0000000
--- a/doc/da/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG da )
diff --git a/doc/de/CMakeLists.txt b/doc/de/CMakeLists.txt
deleted file mode 100644
index eca4bd4..0000000
--- a/doc/de/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG de )
diff --git a/doc/en/CMakeLists.txt b/doc/en/CMakeLists.txt
deleted file mode 100644
index 8f0fe20..0000000
--- a/doc/en/CMakeLists.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-tde_create_handbook( DESTINATION ${PROJECT_NAME} )
-
-file( GLOB _pngs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png )
-
-install(
- FILES ${_pngs}
- DESTINATION ${SHARE_INSTALL_PREFIX}/doc/${PROJECT_NAME}/html
-)
diff --git a/doc/es/CMakeLists.txt b/doc/es/CMakeLists.txt
deleted file mode 100644
index 7995d65..0000000
--- a/doc/es/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG es )
diff --git a/doc/et/CMakeLists.txt b/doc/et/CMakeLists.txt
deleted file mode 100644
index cf537d0..0000000
--- a/doc/et/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG et )
diff --git a/doc/fr/CMakeLists.txt b/doc/fr/CMakeLists.txt
deleted file mode 100644
index 495f168..0000000
--- a/doc/fr/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG fr )
diff --git a/doc/html/CMakeLists.txt b/doc/html/CMakeLists.txt
index 21b72be..81a1f35 100644
--- a/doc/html/CMakeLists.txt
+++ b/doc/html/CMakeLists.txt
@@ -1,6 +1,12 @@
file( GLOB _htmls RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.html )
+file(
+ GLOB _pngs
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/../en/*.png
+)
+
install(
- FILES ${_htmls}
+ FILES ${_htmls} ${_pngs}
DESTINATION ${SHARE_INSTALL_PREFIX}/doc/${PROJECT_NAME}/html
)
diff --git a/doc/it/CMakeLists.txt b/doc/it/CMakeLists.txt
deleted file mode 100644
index e213f2f..0000000
--- a/doc/it/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG it )
diff --git a/doc/nl/CMakeLists.txt b/doc/nl/CMakeLists.txt
deleted file mode 100644
index 39c20ab..0000000
--- a/doc/nl/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG nl )
diff --git a/doc/pt/CMakeLists.txt b/doc/pt/CMakeLists.txt
deleted file mode 100644
index fa558f0..0000000
--- a/doc/pt/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG pt )
diff --git a/doc/sv/CMakeLists.txt b/doc/sv/CMakeLists.txt
deleted file mode 100644
index bc04ab0..0000000
--- a/doc/sv/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-tde_create_handbook( DESTINATION ${PROJECT_NAME} LANG sv )