Skip to content
Snippets Groups Projects
Commit 0e300f48 authored by Philipp Stadler's avatar Philipp Stadler
Browse files

chore: add custom release dir stem and fix git reset

parent 9cb11aaa
No related branches found
No related tags found
No related merge requests found
export RELEASE_DIR_STEM := sinologie-1
export VERSION := $(file < version.txt)
export CONTENT_DIR := $(PWD)/content
# overrides the target of all git commands in this make and the the submake,
# with the effect that changelogs are about the parent repo
export GIT_DIR := $(PWD)/.git
.PHONY: apkg
......@@ -14,10 +18,10 @@ clean:
test -d build && $(MAKE) -C build clean || true
.PHONY: deepclean
deepclean: clean
deepclean:
rm -rf build
build: build.git build.sha
-rm -rf build
git clone $(file < build.git) build
cd build && git reset --hard $(file < build.sha)
cd build && GIT_DIR=$(PWD)/build/.git git reset --hard $(file < build.sha)
2545166f5b28ef1cec879639d4a40e3aca1e614f
af48aa155e789bece5c5d87cbf269fc9233f09dc
1.0.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment