Commit 34d301b9 authored by Maxime Perrotin's avatar Maxime Perrotin

Fix buildsupport Makefile

parent 1ee8e6ce
......@@ -8,7 +8,8 @@ all: build
build:
ifeq ($(UNAME), Linux)
@echo "package Buildsupport_Version is" > ada/buildsupport_version.ads.new
@echo -n " Buildsupport_Release : constant String :=\n \"" >> ada/buildsupport_version.ads.new
@echo " Buildsupport_Release : constant String :=" >> ada/buildsupport_version.ads.new
@echo -n " \"" >> ada/buildsupport_version.ads.new
@git log --oneline | head -1 | cut -f1 -d' ' | tr -d '\012' >> ada/buildsupport_version.ads.new
@echo " ; Commit " | tr -d '\r\n' >> ada/buildsupport_version.ads.new
@git log | head -3 | tail -1 | cut -f1 -d"+" | tr -d '\r\n' >> ada/buildsupport_version.ads.new
......
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