feat: modify makefile to avoid copying dbmind

This commit is contained in:
wangtq
2022-12-14 17:07:09 +08:00
parent d951407620
commit c804e82b84
6 changed files with 1 additions and 10 deletions

View File

@ -40,7 +40,6 @@
./bin/kadmin.local
./bin/lz4
./bin/kadmind
./bin/dbmind
./bin/gs_dbmind
./bin/constant
./bin/server.key.cipher

View File

@ -38,7 +38,6 @@
./bin/kadmin.local
./bin/lz4
./bin/kadmind
./bin/dbmind
./bin/server.key.cipher
./bin/server.key.rand
./etc/kerberos/kadm5.acl

View File

@ -37,7 +37,7 @@
./bin/kadmin.local
./bin/lz4
./bin/kadmind
./bin/dbmind
./bin/gs_dbmind
./bin/server.key.cipher
./bin/server.key.rand
./bin/gs_plan_simulator.sh

View File

@ -40,7 +40,6 @@
./bin/kadmin.local
./bin/lz4
./bin/kadmind
./bin/dbmind
./bin/gs_dbmind
./bin/constant
./bin/server.key.cipher

View File

@ -711,9 +711,7 @@ endif
@rm -f '$(DESTDIR)$(bindir)/gs_encrypt$(X)'
ln -s gaussdb$(X) '$(DESTDIR)$(bindir)/gs_encrypt$(X)'
cp -rf $(srcdir)/dbmind/dbmind '$(DESTDIR)$(bindir)/dbmind'
cp -rf $(srcdir)/dbmind/gs_dbmind '$(DESTDIR)$(bindir)/gs_dbmind'
cp -rf $(srcdir)/dbmind/constant '$(DESTDIR)$(bindir)/constant'
chmod +x '$(DESTDIR)$(bindir)/gs_dbmind'
endif
ifeq ($(enable_multiple_nodes), yes)

View File

@ -15,12 +15,8 @@ add_subdirectory(kernel)
add_subdirectory(db4ai)
if(NOT "${ENABLE_LITE_MODE}" STREQUAL "ON" AND "${ENABLE_MULTIPLE_NODES}" STREQUAL "OFF")
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/dbmind/ DESTINATION bin/dbmind PATTERN "tests" EXCLUDE)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/gs_dbmind
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
DESTINATION bin)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/constant
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
DESTINATION bin)
endif()