Commit 092d355a authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Use submodule for AdaCore's template-parser dependency.

parent 87277156
kazoo
obj/
templates-parser/
src/*.swp
*.swp
src/taste-parser_version.ads
[submodule "templates-parser"]
path = templates-parser
url = https://github.com/AdaCore/templates-parser
......@@ -6,9 +6,10 @@ exec = kazoo
all: build
build:
#if [ -d "templates-parser" ]; then cd templates-parser && git pull; else git clone https://github.com/AdaCore/templates-parser; fi
-- make -C templates-parser -j
templatesParser:
$(MAKE) -C templates-parser -j
build: | templatesParser
ifeq ($(UNAME), Linux)
@echo "package TASTE.Parser_Version is" > src/taste-parser_version.ads.new
@echo " Parser_Release : constant String :=" >> src/taste-parser_version.ads.new
......@@ -51,4 +52,4 @@ test:
clean:
rm -rf obj templates-parser $(exec) *~
.PHONY: install clean build edit test
.PHONY: install clean build edit test templatesParser
Subproject commit 844cfcc630139c0c9c3c2c41f549946a26ee06c0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment