Fixed build script and readme

This commit is contained in:
tastytea 2019-02-12 01:51:51 +01:00
parent 3fb2225392
commit 86b6a9c08e
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 3 additions and 4 deletions

View File

@ -29,7 +29,6 @@ link_directories(${JSONCPP_LIBRARY_DIRS})
add_executable(${CMAKE_PROJECT_NAME} feiertagebot.cpp xdgjson/src/xdgjson.cpp)
target_link_libraries(${CMAKE_PROJECT_NAME}
"${LIBXDG_BASEDIR_LDFLAGS} ${LIBCONFIG_LDFLAGS}"
"${CURLPP_LDFLAGS} ${JSONCPP_LDFLAGS}"
"${LIBXDG_BASEDIR_LDFLAGS} ${CURLPP_LDFLAGS} ${JSONCPP_LDFLAGS}"
"-lstdc++fs -lmastodon-cpp")
install(TARGETS ${CMAKE_PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})

View File

@ -35,11 +35,11 @@ make install
== Benutzung
Beim ersten aufruf wirst du nach der instanz gefragt, dann wird ein access_token
Beim ersten aufruf wirst du nach der instanz gefragt, dann wird ein access token
generiert. Danach kannst du das programm einfach per cron aufrufen
(`crontab -e`).
.Beispieleintrag crontab
.Beispieleintrag crontab, jeden tag um 14:10
[source,crontab]
----
# m h dom mon dow command