Install the tools/http_server.py tool as dhtnode-http.
authorAmin Bandali <bandali@gnu.org>
Thu, 29 Feb 2024 12:15:24 +0000 (12:15 +0000)
committerBenjamin Drung <bdrung@debian.org>
Thu, 29 Feb 2024 12:15:24 +0000 (12:15 +0000)
Last-Update: 2023-10-21

Gbp-Pq: Name 2010-install-dhtnode-http.patch

python/CMakeLists.txt

index cd74c1852b78cfab4baaca7e979dac63a7338a79..8294147b68837ee022d216fc68a112bbbab86b82 100644 (file)
@@ -16,4 +16,5 @@ configure_file(pyproject.toml pyproject.toml COPYONLY)
 # install(CODE "execute_process(COMMAND python3 setup.py install --root=\$ENV{DESTDIR}/ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})")
 if (OPENDHT_TOOLS)
        install(PROGRAMS tools/dhtcluster.py DESTINATION ${CMAKE_INSTALL_BINDIR} RENAME dhtcluster)
+       install(PROGRAMS tools/http_server.py DESTINATION ${CMAKE_INSTALL_BINDIR} RENAME dhtnode-http)
 endif()