forked from MTSR/mapserver
18 lines
295 B
Makefile
18 lines
295 B
Makefile
|
|
OUT_DIR=output
|
|
MOD_ZIP=$(OUT_DIR)/mapserver-mod.zip
|
|
|
|
all: $(OUT_DIR) $(MOD_ZIP)
|
|
$(MAKE) -C server all
|
|
cp server/output/* $(OUT_DIR)/
|
|
|
|
$(OUT_DIR):
|
|
mkdir $@
|
|
|
|
$(MOD_ZIP): $(OUT_DIR)
|
|
cd mod && zip -r ../$(OUT_DIR)/mapserver-mod.zip mapserver
|
|
|
|
clean:
|
|
rm -rf $(OUT_DIR)
|
|
$(MAKE) -C server clean
|