From 3a4ae8ca61e0fa4bbc220bc96c180067efadca54 Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Thu, 16 Jun 2022 11:08:43 +0100 Subject: [PATCH] Add extra CMake install rules Origin: vendor Forwarded: not-needed Last-Update: 2020-11-18, 2022-06-15 for contrib/fonttools and pycontrib to restore the files that were installed to fontforge-extras and python3-fontforge prior to the FontForge 2020 March Release. Last-Update: 2020-11-18, 2022-06-15 Gbp-Pq: Name 0001-add-extra-cmake-install-rules.patch --- contrib/fonttools/CMakeLists.txt | 9 +++++++++ pycontrib/CMakeLists.txt | 1 + 2 files changed, 10 insertions(+) diff --git a/contrib/fonttools/CMakeLists.txt b/contrib/fonttools/CMakeLists.txt index 0d3f464..777b79b 100644 --- a/contrib/fonttools/CMakeLists.txt +++ b/contrib/fonttools/CMakeLists.txt @@ -18,3 +18,12 @@ target_link_libraries(dewoff PRIVATE ZLIB::ZLIB) target_link_libraries(pcl2ttf PRIVATE MathLib::MathLib) target_link_libraries(ttf2eps PRIVATE fontforge) target_link_libraries(woff PRIVATE ZLIB::ZLIB) + +install(TARGETS + acorn2sfd dewoff findtable pcl2ttf pfadecrypt + rmligamarks showttf stripttc ttf2eps woff + RUNTIME + DESTINATION ${CMAKE_INSTALL_BINDIR}) + +install(FILES acorn2sfd.1 showttf.1 ttf2eps.1 + DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) diff --git a/pycontrib/CMakeLists.txt b/pycontrib/CMakeLists.txt index b121a0d..2814b02 100644 --- a/pycontrib/CMakeLists.txt +++ b/pycontrib/CMakeLists.txt @@ -1,3 +1,4 @@ # Distributed under the original FontForge BSD 3-clause license install(FILES excepthook.py DESTINATION ${CMAKE_INSTALL_DATADIR}/fontforge/python) +install(DIRECTORY simple DESTINATION ${CMAKE_INSTALL_DATADIR}/fontforge/python) -- 2.30.2