From 976180bc549dc2cbb5875b2c6fba5cb807efc516 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 9 Nov 2022 22:29:42 +0100 Subject: Copy translations to a new directory layout. Use common rules for build and install translations. Use common rules for build and install documentation. Added translation of .desktop files. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- doc/CMakeLists.txt | 12 ------------ doc/en/CMakeLists.txt | 12 ------------ doc/makecommon.sh | 16 ---------------- doc/makelink.cmake | 18 ------------------ doc/man/CMakeLists.txt | 8 -------- doc/nl/CMakeLists.txt | 12 ------------ 6 files changed, 78 deletions(-) delete mode 100644 doc/CMakeLists.txt delete mode 100644 doc/en/CMakeLists.txt delete mode 100755 doc/makecommon.sh delete mode 100644 doc/makelink.cmake delete mode 100644 doc/man/CMakeLists.txt delete mode 100644 doc/nl/CMakeLists.txt (limited to 'doc') diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt deleted file mode 100644 index d460608..0000000 --- a/doc/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -################################################# -# -# (C) 2011 Timothy Pearson -# kb9vqf (AT) pearsoncomputing.net -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -tde_auto_add_subdirectories() diff --git a/doc/en/CMakeLists.txt b/doc/en/CMakeLists.txt deleted file mode 100644 index affe2dc..0000000 --- a/doc/en/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -################################################# -# -# (C) 2011 Timothy Pearson -# kb9vqf (AT) pearsoncomputing.net -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -tde_create_handbook( LANG en DESTINATION tdesvn ) diff --git a/doc/makecommon.sh b/doc/makecommon.sh deleted file mode 100755 index f38eabd..0000000 --- a/doc/makecommon.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -if [ "x$1" = "x" ]; then - echo "No source" - exit 0 -fi -if [ "x$2" = "x" ]; then - echo "No target" - exit 0 -fi - -if [ ! -h $1 ]; then - echo "linking $2 -> $1" - ln -fs "$2" "$1" -fi - diff --git a/doc/makelink.cmake b/doc/makelink.cmake deleted file mode 100644 index b7775b9..0000000 --- a/doc/makelink.cmake +++ /dev/null @@ -1,18 +0,0 @@ -IF($ENV{DESTDIR} MATCHES ".+") - SET(DESTDIR $ENV{DESTDIR}) -ELSE($ENV{DESTDIR} MATCHES ".+") - SET(DESTDIR "") -ENDIF($ENV{DESTDIR} MATCHES ".+") - -SET(COMMONLINK "${DESTDIR}${CMAKE_INSTALL_PREFIX}/share/doc/tde/HTML/en/tdesvn/common") - -MESSAGE(STATUS "Generating ${COMMONLINK}") - -EXECUTE_PROCESS( - COMMAND "rm" "-f" "common" - COMMAND ln "-s" "../common" "common" - WORKING_DIRECTORY "${DESTDIR}/${CMAKE_INSTALL_PREFIX}/share/doc/tde/HTML/en/tdesvn" - ) - -SET(CMAKE_INSTALL_MANIFEST_FILES ${CMAKE_INSTALL_MANIFEST_FILES} "${CMAKE_INSTALL_PREFIX}/share/doc/tde/HTML/en/tdesvn/common") - diff --git a/doc/man/CMakeLists.txt b/doc/man/CMakeLists.txt deleted file mode 100644 index 69494f2..0000000 --- a/doc/man/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -SET(MANFILES - tdesvn.1 - tdesvnaskpass.1) - -INSTALL(FILES - ${MANFILES} - DESTINATION share/man/man1) - diff --git a/doc/nl/CMakeLists.txt b/doc/nl/CMakeLists.txt deleted file mode 100644 index 0ea9125..0000000 --- a/doc/nl/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -################################################# -# -# (C) 2011 Timothy Pearson -# kb9vqf (AT) pearsoncomputing.net -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -tde_create_handbook( LANG nl DESTINATION tdesvn ) -- cgit v1.2.1