makefile adapted
@@ -60,6 +60,7 @@ CMAKE_STORAGE_BINARY := $(CMAKE_SERVICES_DIR)/storage/fledge.services.storag
CMAKE_SOUTH_BINARY := $(CMAKE_SERVICES_DIR)/south/fledge.services.south
CMAKE_NORTH_SERVICE_BINARY := $(CMAKE_SERVICES_DIR)/north/fledge.services.north
CMAKE_NORTH_BINARY := $(CMAKE_TASKS_DIR)/north/sending_process/sending_process
+CMAKE_PURGE_SYSTEM_BINARY := $(CMAKE_TASKS_DIR)/purge_system/purge_system
CMAKE_PLUGINS_DIR := $(CURRENT_DIR)/$(CMAKE_BUILD_DIR)/C/plugins
DEV_SERVICES_DIR := $(CURRENT_DIR)/services
DEV_TASKS_DIR := $(CURRENT_DIR)/tasks
@@ -68,6 +69,7 @@ SYMLINK_STORAGE_BINARY := $(DEV_SERVICES_DIR)/fledge.services.storage
SYMLINK_SOUTH_BINARY := $(DEV_SERVICES_DIR)/fledge.services.south
SYMLINK_NORTH_SERVICE_BINARY := $(DEV_SERVICES_DIR)/fledge.services.north
SYMLINK_NORTH_BINARY := $(DEV_TASKS_DIR)/sending_process
+SYMLINK_PURGE_SYSTEM_BINARY := $(DEV_TASKS_DIR)/purge_system
ASYNC_INGEST_PYMODULE := $(CURRENT_DIR)/python/async_ingest.so*
FILTER_INGEST_PYMODULE := $(CURRENT_DIR)/python/filter_ingest.so*
@@ -158,7 +160,7 @@ PACKAGE_NAME=Fledge
# generally prepare the development tree to allow for core to be run
default : apply_version \
generate_selfcertificate \
- c_build $(SYMLINK_STORAGE_BINARY) $(SYMLINK_SOUTH_BINARY) $(SYMLINK_NORTH_SERVICE_BINARY) $(SYMLINK_NORTH_BINARY) $(SYMLINK_PLUGINS_DIR) \
+ c_build $(SYMLINK_STORAGE_BINARY) $(SYMLINK_SOUTH_BINARY) $(SYMLINK_NORTH_SERVICE_BINARY) $(SYMLINK_NORTH_BINARY) $(SYMLINK_PURGE_SYSTEM_BINARY) $(SYMLINK_PLUGINS_DIR) \
python_build python_requirements_user
apply_version :
@@ -277,6 +279,10 @@ $(DEV_SERVICES_DIR) :
$(SYMLINK_NORTH_BINARY) : $(DEV_TASKS_DIR)
$(LN) $(CMAKE_NORTH_BINARY) $(SYMLINK_NORTH_BINARY)
+# create symlink to purge_system binary
+$(SYMLINK_PURGE_SYSTEM_BINARY) : $(DEV_TASKS_DIR)
+ $(LN) $(CMAKE_PURGE_SYSTEM_BINARY) $(SYMLINK_PURGE_SYSTEM_BINARY)
+
# create tasks dir
$(DEV_TASKS_DIR) :
$(MKDIR_PATH) $(DEV_TASKS_DIR)
