latex-packages/Makefile
Maximilian Keßler 4739c0ce22 adjust makefile
2021-10-07 09:01:50 +02:00

20 lines
467 B
Makefile

.PHONY: build
build: .initsubmodulelock
@python3 build.py
init: .initsubmodulelock .gitconfiglock
config: .gitconfiglock
.initsubmodulelock:
@git submodule update --init
@touch .initsubmodulelock
.gitconfiglock:
@echo "[Make config] Setting git configs to prevent wrong pushes"
@git config push.recurseSubmodules check
@git config status.submodulesummary 1
@echo "[Push annotated tags by default]"
@git config push.followTags true
@touch .gitconfiglock