Commit 28fff2c9 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Install as programs

svn path=/trunk/KDE/kdegraphics/okular/; revision=1187515
parent 4694f034
......@@ -29,5 +29,5 @@ install(TARGETS okularGenerator_chmlib DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
install( FILES libokularGenerator_chmlib.desktop okularChm.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES okularApplication_chm.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( PROGRAMS okularApplication_chm.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
......@@ -26,5 +26,5 @@ install(TARGETS okularGenerator_comicbook DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
install( FILES libokularGenerator_comicbook.desktop okularComicbook.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES okularApplication_comicbook.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( PROGRAMS okularApplication_comicbook.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
......@@ -23,6 +23,6 @@ install(TARGETS okularGenerator_djvu DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
install( FILES libokularGenerator_djvu.desktop okularDjvu.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES okularApplication_djvu.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( PROGRAMS okularApplication_djvu.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
......@@ -60,5 +60,5 @@ install(TARGETS okularGenerator_dvi DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
install( FILES libokularGenerator_dvi.desktop okularDvi.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES okularApplication_dvi.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( PROGRAMS okularApplication_dvi.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
......@@ -22,4 +22,4 @@ install(TARGETS okularGenerator_epub DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
install( FILES libokularGenerator_epub.desktop okularEPub.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES okularApplication_epub.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( PROGRAMS okularApplication_epub.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
......@@ -17,4 +17,4 @@ install(TARGETS okularGenerator_fax DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
install( FILES libokularGenerator_fax.desktop okularFax.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES okularApplication_fax.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( PROGRAMS okularApplication_fax.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
......@@ -23,4 +23,4 @@ install(TARGETS okularGenerator_fb DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
install( FILES libokularGenerator_fb.desktop okularFb.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES okularApplication_fb.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( PROGRAMS okularApplication_fb.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
......@@ -18,6 +18,6 @@ install(TARGETS okularGenerator_kimgio DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
install( FILES libokularGenerator_kimgio.desktop okularKimgio.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES okularApplication_kimgio.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( PROGRAMS okularApplication_kimgio.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
#install( FILES gui.rc DESTINATION ${DATA_INSTALL_DIR}/okular_kimgio )
......@@ -21,4 +21,4 @@ install(TARGETS okularGenerator_mobi DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
install( FILES libokularGenerator_mobi.desktop okularMobi.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES okularApplication_mobi.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( PROGRAMS okularApplication_mobi.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
......@@ -37,5 +37,5 @@ install(TARGETS okularGenerator_ooo DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
install( FILES libokularGenerator_ooo.desktop okularOoo.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES okularApplication_ooo.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( PROGRAMS okularApplication_ooo.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
......@@ -31,5 +31,5 @@ install(TARGETS okularGenerator_plucker DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
install( FILES libokularGenerator_plucker.desktop okularPlucker.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES okularApplication_plucker.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( PROGRAMS okularApplication_plucker.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
......@@ -63,5 +63,5 @@ install(TARGETS okularGenerator_poppler DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
install( FILES libokularGenerator_poppler.desktop okularPoppler.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES okularApplication_pdf.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( PROGRAMS okularApplication_pdf.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
......@@ -30,6 +30,6 @@ install(TARGETS okularGenerator_ghostview DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
install( FILES libokularGenerator_ghostview.desktop okularGhostview.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES okularApplication_ghostview.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( PROGRAMS okularApplication_ghostview.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
kde4_install_icons(${DATA_INSTALL_DIR}/okular/icons)
......@@ -21,5 +21,5 @@ install(TARGETS okularGenerator_tiff DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
install( FILES libokularGenerator_tiff.desktop okularTiff.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES okularApplication_tiff.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( PROGRAMS okularApplication_tiff.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
......@@ -20,5 +20,5 @@ install(TARGETS okularGenerator_xps DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
install( FILES libokularGenerator_xps.desktop okularXps.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES okularApplication_xps.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( PROGRAMS okularApplication_xps.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
......@@ -22,6 +22,6 @@ install(TARGETS okular ${INSTALL_TARGETS_DEFAULT_ARGS})
# okular shell data files
install( FILES okular.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( PROGRAMS okular.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( FILES shell.rc DESTINATION ${DATA_INSTALL_DIR}/okular )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment