Do not hardcode path to /etc

This commit is contained in:
o9000 2017-10-04 19:15:44 +02:00
parent 9a7d5a1a51
commit 50c7bf77de
2 changed files with 5 additions and 1 deletions

View file

@ -273,7 +273,7 @@ set_target_properties( tint2 PROPERTIES LINK_FLAGS "-pthread -fno-strict-aliasin
install( TARGETS tint2 DESTINATION bin ) install( TARGETS tint2 DESTINATION bin )
install( FILES tint2.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps ) install( FILES tint2.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps )
install( FILES tint2.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications ) install( FILES tint2.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications )
install( FILES themes/tint2rc DESTINATION /etc/xdg/tint2 ) install( FILES themes/tint2rc DESTINATION ${CMAKE_INSTALL_FULL_SYSCONFDIR}/xdg/tint2 )
install( FILES default_icon.png DESTINATION ${CMAKE_INSTALL_DATADIR}/tint2 ) install( FILES default_icon.png DESTINATION ${CMAKE_INSTALL_DATADIR}/tint2 )
install( FILES AUTHORS ChangeLog README.md doc/tint2.md DESTINATION ${docdir} ) install( FILES AUTHORS ChangeLog README.md doc/tint2.md DESTINATION ${docdir} )
install( FILES doc/manual.html doc/readme.html DESTINATION ${htmldir} ) install( FILES doc/manual.html doc/readme.html DESTINATION ${htmldir} )

View file

@ -1,3 +1,7 @@
2017-10-04 master
- Fixes:
- cmake: Do not hardcode path to /etc
2017-10-01 15.2 2017-10-01 15.2
- Fixes: - Fixes:
- Battery info is now again displayed even when current sensor is missing (https://github.com/jmc-88/tint3/issues/34) - Battery info is now again displayed even when current sensor is missing (https://github.com/jmc-88/tint3/issues/34)