mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-08 20:03:20 +00:00
21 lines
711 B
Diff
21 lines
711 B
Diff
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -49,7 +49,7 @@
|
|
|
|
|
|
add_definitions(-D_FORTIFY_SOURCE=2)
|
|
-add_definitions(-DCONFIG_FILE=\"/etc/multitail.conf\")
|
|
+add_definitions(-DCONFIG_FILE=\"@TERMUX_PREFIX@/etc/multitail.conf\")
|
|
add_definitions(-DVERSION=\"${VERSION}\")
|
|
add_definitions(-D${CMAKE_C_PLATFORM_ID})
|
|
message(STATUS "CMAKE_C_PLATFORM_ID=${CMAKE_C_PLATFORM_ID}")
|
|
@@ -142,7 +142,7 @@
|
|
# install the bin
|
|
install(TARGETS multitail DESTINATION bin)
|
|
# install the config file
|
|
-install(FILES multitail.conf DESTINATION etc RENAME multitail.conf.new)
|
|
+install(FILES multitail.conf DESTINATION etc)
|
|
# install the manual files
|
|
install(FILES multitail.1 DESTINATION share/man/man1)
|
|
# install doc files
|