Fix history generation
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 6 Feb 2014 22:05:56 +0000 (23:05 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 6 Feb 2014 22:05:56 +0000 (23:05 +0100)
continuous/steps/Makefile

index 84b0960..cb2703d 100644 (file)
@@ -1,11 +1,17 @@
 all:
        run-parts -v --exit-on-error .
 
+history:
+       for i in $$(cat tags); do $(MAKE) $$i; done < /dev/null
+
 v%:
-       cd linux && git checkout $@
-       @echo "! Date: $(shell cd linux && git log -1 --format=%ai) ok"
+       cd linux && git clean -fxd > /dev/null && git reset --hard $@
+       @$(MAKE) log 2>&1 < /dev/null | tee ../logs/$@.log 
+       touch $@
+
+log:
+       @echo "! Date: $$(cd linux && git log -1 --format=%ci) ok"
        ./11-patch
        ./20-config
        ./30-compile
        ./40-run-tests
-       touch $@