2019-01-23 11:11:55 +03:00
|
|
|
|
|
|
|
OUT_DIR=output
|
|
|
|
MOD_ZIP=$(OUT_DIR)/mapserver-mod.zip
|
|
|
|
|
|
|
|
all: $(OUT_DIR) $(MOD_ZIP)
|
2019-02-22 21:40:26 +03:00
|
|
|
$(MAKE) -C server build-all-docker
|
2019-01-23 11:11:55 +03:00
|
|
|
cp server/output/* $(OUT_DIR)/
|
|
|
|
|
|
|
|
$(OUT_DIR):
|
|
|
|
mkdir $@
|
|
|
|
|
|
|
|
$(MOD_ZIP): $(OUT_DIR)
|
2019-01-24 16:07:20 +03:00
|
|
|
zip -r $(OUT_DIR)/mapserver-mod.zip mapserver_mod
|
2019-01-23 11:11:55 +03:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf $(OUT_DIR)
|
|
|
|
$(MAKE) -C server clean
|