2019-02-10 08:42:44 -07:00
|
|
|
# @file Makefile
|
|
|
|
# @author Stefan Wilhelm (wile)
|
|
|
|
# @license MIT
|
|
|
|
#
|
2019-02-27 13:43:47 -07:00
|
|
|
# GNU Make makefile based build relay.
|
|
|
|
# Note for reviewers/clones: This file is a auxiliary script for my setup.
|
|
|
|
# It's not needed to build the mod.
|
2019-02-10 08:42:44 -07:00
|
|
|
#
|
2020-05-27 11:11:53 -07:00
|
|
|
.PHONY: default init clean clean-all mrproper sanitize dist dist-all combined-update-json sync-main-repo
|
2019-06-22 13:53:51 -07:00
|
|
|
|
|
|
|
default: ; @echo "First change to specific version directory."
|
|
|
|
dist: default
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-@cd 1.12; make -s clean
|
|
|
|
-@cd 1.14; make -s clean
|
2019-12-19 10:26:00 -07:00
|
|
|
-@cd 1.15; make -s clean
|
2019-06-22 13:53:51 -07:00
|
|
|
|
|
|
|
clean-all:
|
|
|
|
-@cd 1.12; make -s clean-all
|
|
|
|
-@cd 1.14; make -s clean-all
|
2019-12-19 10:26:00 -07:00
|
|
|
-@cd 1.15; make -s clean-all
|
2019-06-22 13:53:51 -07:00
|
|
|
|
|
|
|
mrproper:
|
|
|
|
-@cd 1.12; make -s mrproper
|
|
|
|
-@cd 1.14; make -s mrproper
|
2019-12-19 10:26:00 -07:00
|
|
|
-@cd 1.15; make -s mrproper
|
2019-02-27 12:29:36 -07:00
|
|
|
|
2020-05-27 11:11:53 -07:00
|
|
|
combined-update-json:
|
2019-02-27 12:29:36 -07:00
|
|
|
@echo "[main] Update update.json ..."
|
2020-05-27 11:11:53 -07:00
|
|
|
@djs meta/lib/tasks.js combined-update-json
|
2019-02-10 08:42:44 -07:00
|
|
|
|
2020-05-27 11:11:53 -07:00
|
|
|
sanitize:
|
|
|
|
@cd 1.12; make -s sanitize
|
|
|
|
@cd 1.14; make -s sanitize
|
|
|
|
@cd 1.15; make -s sanitize
|
|
|
|
@make -s combined-update-json
|
2019-02-11 11:25:48 -07:00
|
|
|
|
2020-04-30 06:56:07 -07:00
|
|
|
init:
|
|
|
|
-@cd 1.12; make -s init
|
|
|
|
-@cd 1.14; make -s init
|
|
|
|
-@cd 1.15; make -s init
|
|
|
|
|
|
|
|
dist-all: clean-all init
|
|
|
|
-@cd 1.12; make -s dist
|
|
|
|
-@cd 1.14; make -s dist
|
|
|
|
-@cd 1.15; make -s dist
|
|
|
|
|
2020-05-27 11:11:53 -07:00
|
|
|
sync-main-repo: sanitize
|
2019-02-27 12:29:36 -07:00
|
|
|
@echo "[main] Synchronising to github repository working tree ..."
|
2020-05-27 11:11:53 -07:00
|
|
|
@djs meta/lib/tasks.js sync-main-repository
|