Why Nostr? What is Njump?
2024-07-03 00:51:02

npub1c6…c2ccv on Nostr: commit ce7f6ba6eaec2e3e8cd07f7bf32874343c75928e Author: @RandyMcMillan ...

commit ce7f6ba6eaec2e3e8cd07f7bf32874343c75928e
Author: @RandyMcMillan <[email protected]>
Date: Sat Mar 30 16:03:03 2024 -0400

make:gnostr-web:gnostr-install

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f859583f0..41924fb04 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -58,6 +58,7 @@ if(BUILD_WEB)
set(BOOST_PREFIX ${CMAKE_SOURCE_DIR}/ext/boost_1_82_0)
add_subdirectory(${CMAKE_SOURCE_DIR}/ext/wt-4.10.0)
add_definitions(-DDEV_MODE)
+ message("TRY: make wt to build gnostr-web: BUILD_WEB=" ${BUILD_WEB})
endif()
if(MSVC)
set(BOOST_PREFIX ${CMAKE_SOURCE_DIR}/ext/boost_1_82_0)
@@ -398,12 +399,12 @@ install(TARGETS gnostr-tests
RUNTIME DESTINATION /usr/local/bin)

if(BUILD_WEB)
- #install(TARGETS gnostr-web
- # CONFIGURATIONS Debug
- # RUNTIME DESTINATION ${CMAKE_SOURCE_DIR}/bin)
- #install(TARGETS gnostr-web
- # CONFIGURATIONS Release
- # RUNTIME DESTINATION /usr/local/bin)
+install(TARGETS gnostr-web
+ CONFIGURATIONS Debug
+ RUNTIME DESTINATION ${CMAKE_SOURCE_DIR}/bin)
+install(TARGETS gnostr-web
+ CONFIGURATIONS Release
+ RUNTIME DESTINATION /usr/local/bin)
endif()

if (BUILD_GUI)
diff --git a/gnostr.mk b/gnostr.mk
index 35bf84efb..a72521a2c 100644
--- a/gnostr.mk
+++ b/gnostr.mk
@@ -534,6 +534,7 @@ gnostr-install:
@install -m755 -v template/gnostr-set-relays $(PREFIX)/bin 2>/dev/null || true
@install -m755 -v template/gnostr-*-* $(PREFIX)/bin 2>/dev/null || true
@install -m755 -v ext/curl-8.5.0/src/gnostr-curl $(PREFIX)/bin 2>/dev/null || true
+ @install -m755 -v web/gnostr-* $(PREFIX)/bin 2>/dev/null || true

.ONESHELL:
##install-doc
Author Public Key
npub1c6gv5a2pxhs4jl4x4xek824kdh3tv6e80w3ed0cuvm3qw9zns2ps0c2ccv