X-Git-Url: http://rtime.felk.cvut.cz/gitweb/omk.git/blobdiff_plain/a798a5c954b00e9d6a841e92abd80eb6f98de495..eefb242a129510654b235b5008716888d2993fbc:/Makefile diff --git a/Makefile b/Makefile index c2af419..4c2f726 100644 --- a/Makefile +++ b/Makefile @@ -4,12 +4,10 @@ all: buildrules buildrules: - chmod +x omkbuild.py - ./omkbuild.py --all + $(MAKE) -C snippets $@ split: - chmod +x omkbuild.py - cd snippets; ../omkbuild.py --split=../Makefile.rules + $(MAKE) -C snippets $@ RULES_TO_SPLIT=../Makefile.rules test tests: $(MAKE) -C tests @@ -17,7 +15,7 @@ test tests: doc: $(MAKE) -C doc -VERSION:=$(shell darcs changes --last=1|sed -ne '/tagged/ s/^ *tagged v\(.*\)/\1/p') +VERSION:=$(shell git describe|sed -e 's/^v//') export VERSION # Export for doc/ RELEASE_DIR := omk-$(VERSION) release: tag-check doc buildrules