fixed bug that caused make install to not updating the package when plugiins change

This commit is contained in:
Guillaume Raffy 2019-10-08 17:52:30 +02:00
parent 1919e67e8c
commit f96b4a8ff6
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ FIJI_EXE_PATH=$(FIJI_ROOT_PATH)/ImageJ-linux64
# RAW_IMAGES_ROOT_PATH:='/opt/ipr/cluster/work.global/graffy/jenkins-store/lipase/raw-images'
RAW_IMAGES_ROOT_PATH:=$(shell echo ~/work/lipase/raw-images)
LIB_SRC_FILES=$(shell find ./src/lipase -name "*.py")
PLUGINS_SRC_FILES=$(shell find ./src/ij-plugins -name "*.py")
LIPASE_VERSION=1.00
BUILD_ROOT_PATH=$(shell pwd)/build
@ -60,7 +61,7 @@ install_ij_opencv:
$(FIJI_ROOT_PATH)/ImageJ-linux64 --update update; \
fi
$(PACKAGE_FILE_PATH): $(BUILD_ROOT_PATH)/jars/Lib/fr.univ-rennes1.ipr.lipase.lib.jar
$(PACKAGE_FILE_PATH): $(BUILD_ROOT_PATH)/jars/Lib/fr.univ-rennes1.ipr.lipase.lib.jar $(PLUGINS_SRC_FILES)
mkdir -p $(BUILD_ROOT_PATH)/plugins/Ipr ; \
rsync -a ./src/ij-plugins/Ipr/ $(BUILD_ROOT_PATH)/plugins/Ipr/ ; \
pushd $(BUILD_ROOT_PATH) ; \