diff options
Diffstat (limited to 'khelpcenter')
-rw-r--r-- | khelpcenter/CMakeLists.txt | 63 | ||||
-rw-r--r-- | khelpcenter/pics/CMakeLists.txt | 13 | ||||
-rw-r--r-- | khelpcenter/plugins/Applications/CMakeLists.txt | 12 | ||||
-rw-r--r-- | khelpcenter/plugins/CMakeLists.txt | 22 | ||||
-rw-r--r-- | khelpcenter/plugins/Manpages/CMakeLists.txt | 16 | ||||
-rw-r--r-- | khelpcenter/plugins/Scrollkeeper/CMakeLists.txt | 14 | ||||
-rw-r--r-- | khelpcenter/plugins/Tutorials/CMakeLists.txt | 14 | ||||
-rw-r--r-- | khelpcenter/searchhandlers/CMakeLists.txt | 28 |
8 files changed, 182 insertions, 0 deletions
diff --git a/khelpcenter/CMakeLists.txt b/khelpcenter/CMakeLists.txt new file mode 100644 index 000000000..71840b081 --- /dev/null +++ b/khelpcenter/CMakeLists.txt @@ -0,0 +1,63 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( plugins ) +add_subdirectory( pics ) +add_subdirectory( searchhandlers ) + + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES Help.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +install( FILES khelpcenter.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES khelpcenter.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) + +install( FILES + khelpcenterui.rc intro.html.in glossary.html.in + table-of-contents.xslt glossary.xslt index.html.in + DESTINATION ${DATA_INSTALL_DIR}/khelpcenter ) + + +##### khelpcenter (kdeinit) ##################### + +tde_add_kdeinit_executable( khelpcenter AUTOMOC + SOURCES + navigator.cpp navigatoritem.cpp navigatorappitem.cpp + view.cpp searchwidget.cpp searchengine.cpp docmetainfo.cpp + docentrytraverser.cpp formatter.cpp glossary.cpp + toc.cpp mainwindow.cpp docentry.cpp htmlsearch.cpp + history.cpp application.cpp searchwidget.skel + treebuilder.cpp infotree.cpp mainwindow.skel + kcmhelpcenter.cpp htmlsearchconfig.cpp kcmhelpcenter.skel + fontdialog.cpp plugintraverser.cpp scrollkeepertreebuilder.cpp + prefs.kcfgc searchhandler.cpp + LINK khtml-shared +) + + +##### khc_indexbuilder (executable) ############# + +tde_add_executable( khc_indexbuilder AUTOMOC + SOURCES khc_indexbuilder.cpp + LINK kdecore-shared + DESTINATION ${BIN_INSTALL_DIR} +) diff --git a/khelpcenter/pics/CMakeLists.txt b/khelpcenter/pics/CMakeLists.txt new file mode 100644 index 000000000..31014722a --- /dev/null +++ b/khelpcenter/pics/CMakeLists.txt @@ -0,0 +1,13 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +tde_install_icons( khelpcenter ) +tde_install_icons( helpdoc helpbook helpbook_open DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/icons ) diff --git a/khelpcenter/plugins/Applications/CMakeLists.txt b/khelpcenter/plugins/Applications/CMakeLists.txt new file mode 100644 index 000000000..d31a92243 --- /dev/null +++ b/khelpcenter/plugins/Applications/CMakeLists.txt @@ -0,0 +1,12 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES .directory DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/plugins/Applications ) diff --git a/khelpcenter/plugins/CMakeLists.txt b/khelpcenter/plugins/CMakeLists.txt new file mode 100644 index 000000000..e18aa5647 --- /dev/null +++ b/khelpcenter/plugins/CMakeLists.txt @@ -0,0 +1,22 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( Applications ) +add_subdirectory( Manpages ) +add_subdirectory( Tutorials ) +add_subdirectory( Scrollkeeper ) + +install( FILES + applets.desktop contact.desktop faq.desktop info.desktop + links.desktop support.desktop userguide.desktop welcome.desktop + kicmodules.desktop kcontrolmodules.desktop konqplugins.desktop + kioslaves.desktop + DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/plugins ) diff --git a/khelpcenter/plugins/Manpages/CMakeLists.txt b/khelpcenter/plugins/Manpages/CMakeLists.txt new file mode 100644 index 000000000..d6abb8a15 --- /dev/null +++ b/khelpcenter/plugins/Manpages/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory man1.desktop man2.desktop man3.desktop + man4.desktop man5.desktop man6.desktop man7.desktop + man8.desktop man9.desktop mann.desktop + DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/plugins/Manpages ) diff --git a/khelpcenter/plugins/Scrollkeeper/CMakeLists.txt b/khelpcenter/plugins/Scrollkeeper/CMakeLists.txt new file mode 100644 index 000000000..fe2acd80f --- /dev/null +++ b/khelpcenter/plugins/Scrollkeeper/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory scrollkeeper.desktop + DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/plugins/Scrollkeeper ) diff --git a/khelpcenter/plugins/Tutorials/CMakeLists.txt b/khelpcenter/plugins/Tutorials/CMakeLists.txt new file mode 100644 index 000000000..2388c6440 --- /dev/null +++ b/khelpcenter/plugins/Tutorials/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + .directory quickstart.desktop visualdict.desktop + DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/plugins/Tutorials ) diff --git a/khelpcenter/searchhandlers/CMakeLists.txt b/khelpcenter/searchhandlers/CMakeLists.txt new file mode 100644 index 000000000..eeb76104b --- /dev/null +++ b/khelpcenter/searchhandlers/CMakeLists.txt @@ -0,0 +1,28 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +set( prefix ${CMAKE_INSTALL_PREFIX} ) +configure_file( khc_docbookdig.pl.in khc_docbookdig.pl @ONLY ) +configure_file( khc_htdig.pl.in khc_htdig.pl @ONLY ) + +install( FILES + htdig.desktop man.desktop docbook.desktop + DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/searchhandlers ) + +install( PROGRAMS + ${CMAKE_CURRENT_BINARY_DIR}/khc_htdig.pl khc_htsearch.pl + ${CMAKE_CURRENT_BINARY_DIR}/khc_docbookdig.pl khc_beagle_search.pl + khc_mansearch.pl khc_beagle_index.pl + DESTINATION ${BIN_INSTALL_DIR} ) + +install( FILES + htdig_long.html + DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/searchhandlers/htdig ) |