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:55:47 +0200
commit215dbe5916e4024ce50040ae715570f9781a035a (patch)
tree8c06d5969a7efb42c6bfd76a64cc9152db9da8ba
parent17919ef00efa3b474c5d8387feaa89602d5d2bb2 (diff)
downloadkdiff3-215dbe5916e4024ce50040ae715570f9781a035a.tar.gz
kdiff3-215dbe5916e4024ce50040ae715570f9781a035a.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>
-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 )