Store the GID id of the last commit in mkws-complete.js
authorWolfram Schneider <wosch@indexdata.dk>
Tue, 20 May 2014 13:14:13 +0000 (13:14 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Tue, 20 May 2014 13:14:13 +0000 (13:14 +0000)
We used the gid id from mkws.js, but that's no longer
usefull after we split mkws.js into parts

src/Makefile

index 09fd6ee..82cf254 100644 (file)
@@ -41,7 +41,7 @@ mkws-js mkws-complete.js: Makefile mkws.js mkws-jquery.js ${HANDLEBARS_FILE} ${J
          echo "/*! Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com"; \
          echo "   Licence: GPL, http://www.indexdata.com/licences/gpl"; \
          echo "   created at: $$(date)"; \
-         echo "   mkws.js GIT id: $$(git log mkws.js | head -n 1 | perl -npe 's,\S+\s+,,')"; \
+         echo "   MKWS GIT id: $$(git show | head -n 1 | perl -npe 's,\S+\s+,,')"; \
          echo "   pz2.js GIT id: $$(curl -sSf 'http://git.indexdata.com/?p=pazpar2.git;a=rss' | egrep '<guid' | head -1 | perl -ne 'print "$$1\n" if m,.*=([0-9a-f]+)</guid>,')"; \
          echo "*/"; \
          cat ${JQUERY_FILE}; \