Store unity8 package version in /var/lib/.../version file for fast retrieval from the shell plugin.
Approved by: Albert Astals Cid
commit12b175177193a3942520535186df5630c81ce557
authorPawel Stolowski <pawel.stolowski@canonical.com>
dateFri 9 Oct 2015, 09:12 (11 years ago)
parent08f6f816a06fea
data/CMakeLists.txt+3
@@ -11,5 +11,8 @@ install(FILES
1111 DESTINATION ${CMAKE_INSTALL_DATADIR}/applications
1212 )
1313
14+add_custom_target(pkgversion ALL COMMAND dpkg-parsechangelog -l${CMAKE_SOURCE_DIR}/debian/changelog --show-field version > ${CMAKE_CURRENT_BINARY_DIR}/version)
15+
1416install(FILES com.canonical.Unity8.gschema.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/glib-2.0/schemas)
1517install(FILES unity8-dash.url-dispatcher DESTINATION ${CMAKE_INSTALL_DATADIR}/url-dispatcher/urls)
18+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/version DESTINATION ${CMAKE_INSTALL_LOCALSTATEDIR}/lib/unity8)
debian/unity8.install+1
@@ -1,3 +1,4 @@
1+var/lib/unity8/version
12data/unity8-dash.conf usr/share/upstart/sessions/
23data/unity8-filewatcher.conf usr/share/upstart/sessions/
34data/unity8.conf usr/share/upstart/sessions/