From cb2230e3d18ed1be5ad1afe59de60b28c7efbade Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 8 Oct 2012 23:38:37 +0200 Subject: [PATCH] Install style templates --- .../db_plugins/postgis/plugins/qgis_topoview/CMakeLists.txt | 2 +- .../postgis/plugins/qgis_topoview/templates/CMakeLists.txt | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/templates/CMakeLists.txt diff --git a/python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/CMakeLists.txt b/python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/CMakeLists.txt index 3e7111047f3..41e201b14d8 100644 --- a/python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/CMakeLists.txt +++ b/python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/CMakeLists.txt @@ -3,5 +3,5 @@ SET (DB_MANAGER_POSTGIS_TOPOVIEW_DIR ${DB_MANAGER_POSTGIS_DIR}/plugins/qgis_topo FILE(GLOB PY_FILES *.py) INSTALL(FILES ${PY_FILES} DESTINATION ${DB_MANAGER_POSTGIS_TOPOVIEW_DIR}) -INSTALL(FILES topoview_template.qgs DESTINATION ${DB_MANAGER_POSTGIS_TOPOVIEW_DIR}) +ADD_SUBDIRECTORY(templates) diff --git a/python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/templates/CMakeLists.txt b/python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/templates/CMakeLists.txt new file mode 100644 index 00000000000..be934aa3148 --- /dev/null +++ b/python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/templates/CMakeLists.txt @@ -0,0 +1,5 @@ +SET (DB_MANAGER_POSTGIS_TOPOVIEW_TEMPLATE_DIR ${DB_MANAGER_POSTGIS_DIR}/plugins/qgis_topoview/templates) + +FILE(GLOB QML_FILES *.qml) + +INSTALL(FILES ${QML_FILES} DESTINATION ${DB_MANAGER_POSTGIS_TOPOVIEW_TEMPLATE_DIR})