fixed bug that caused make install to not updating the package when plugiins change
This commit is contained in:
parent
1919e67e8c
commit
f96b4a8ff6
3
Makefile
3
Makefile
|
@ -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:='/opt/ipr/cluster/work.global/graffy/jenkins-store/lipase/raw-images'
|
||||||
RAW_IMAGES_ROOT_PATH:=$(shell echo ~/work/lipase/raw-images)
|
RAW_IMAGES_ROOT_PATH:=$(shell echo ~/work/lipase/raw-images)
|
||||||
LIB_SRC_FILES=$(shell find ./src/lipase -name "*.py")
|
LIB_SRC_FILES=$(shell find ./src/lipase -name "*.py")
|
||||||
|
PLUGINS_SRC_FILES=$(shell find ./src/ij-plugins -name "*.py")
|
||||||
LIPASE_VERSION=1.00
|
LIPASE_VERSION=1.00
|
||||||
|
|
||||||
BUILD_ROOT_PATH=$(shell pwd)/build
|
BUILD_ROOT_PATH=$(shell pwd)/build
|
||||||
|
@ -60,7 +61,7 @@ install_ij_opencv:
|
||||||
$(FIJI_ROOT_PATH)/ImageJ-linux64 --update update; \
|
$(FIJI_ROOT_PATH)/ImageJ-linux64 --update update; \
|
||||||
fi
|
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 ; \
|
mkdir -p $(BUILD_ROOT_PATH)/plugins/Ipr ; \
|
||||||
rsync -a ./src/ij-plugins/Ipr/ $(BUILD_ROOT_PATH)/plugins/Ipr/ ; \
|
rsync -a ./src/ij-plugins/Ipr/ $(BUILD_ROOT_PATH)/plugins/Ipr/ ; \
|
||||||
pushd $(BUILD_ROOT_PATH) ; \
|
pushd $(BUILD_ROOT_PATH) ; \
|
||||||
|
|
Loading…
Reference in New Issue