Linux + iPhone Continuity / iMessage / SMS
templatize man page version and date
Zack Bartel52d19a0bbd24
diff --git a/CMakeLists.txt b/CMakeLists.txtindex 7741958..ca6cebf 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -113,12 +113,19 @@ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/com.tether.extension.mozilla.json"DESTINATION "${THUNDERBIRD_MESSAGING_DIR}"RENAME "com.tether.extension.json")+string(TIMESTAMP BUILD_DATE "%B %Y")++configure_file(docs/man/man1/tether.1.in "${CMAKE_CURRENT_BINARY_DIR}/man/tether.1" @ONLY)+configure_file(docs/man/man1/tether-gtk.1.in "${CMAKE_CURRENT_BINARY_DIR}/man/tether-gtk.1" @ONLY)+configure_file(docs/man/man8/tetherd.8.in "${CMAKE_CURRENT_BINARY_DIR}/man/tetherd.8" @ONLY)+# install man pages-install(FILES docs/man/man1/tether.1 docs/man/man1/tether-gtk.1+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/man/tether.1" "${CMAKE_CURRENT_BINARY_DIR}/man/tether-gtk.1"DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)-install(FILES docs/man/man8/tetherd.8+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/man/tetherd.8"DESTINATION ${CMAKE_INSTALL_MANDIR}/man8)+# Extension Building only if npm is availableoption(TETHER_BUILD_EXTENSIONS "Build browser and mail extensions automatically" ON)find_program(NPM_EXECUTABLE npm)diff --git a/docs/man/man1/tether-gtk.1 b/docs/man/man1/tether-gtk.1.insimilarity index 89%rename from docs/man/man1/tether-gtk.1rename to docs/man/man1/tether-gtk.1.inindex a4c8a11..4987524 100644--- a/docs/man/man1/tether-gtk.1+++ b/docs/man/man1/tether-gtk.1.in@@ -1,4 +1,4 @@-.TH TETHER-GTK 1 "May 2026" "Tether 0.1.0" "User Commands"+.TH TETHER-GTK 1 "@BUILD_DATE@" "Tether @TETHER_VERSION@" "User Commands".SH NAMEtether-gtk \- Graphical interface for Tether.SH SYNOPSISdiff --git a/docs/man/man1/tether.1 b/docs/man/man1/tether.1.insimilarity index 96%rename from docs/man/man1/tether.1rename to docs/man/man1/tether.1.inindex 219680d..aea47a5 100644--- a/docs/man/man1/tether.1+++ b/docs/man/man1/tether.1.in@@ -1,4 +1,4 @@-.TH TETHER 1 "May 2026" "Tether 0.1.0" "User Commands"+.TH TETHER 1 "@BUILD_DATE@" "Tether @TETHER_VERSION@" "User Commands".SH NAMEtether \- Wayland companion CLI for iPhone integration.SH SYNOPSISdiff --git a/docs/man/man8/tetherd.8 b/docs/man/man8/tetherd.8.insimilarity index 92%rename from docs/man/man8/tetherd.8rename to docs/man/man8/tetherd.8.inindex ba6fe99..f5d3d5b 100644--- a/docs/man/man8/tetherd.8+++ b/docs/man/man8/tetherd.8.in@@ -1,4 +1,4 @@-.TH TETHERD 8 "May 2026" "Tether 0.1.0" "System Administration"+.TH TETHERD 8 "@BUILD_DATE@" "Tether @TETHER_VERSION@" "System Administration".SH NAMEtetherd \- Tether background daemon for iOS/Wayland integration.SH SYNOPSIS