Convert task numbers into dev.gnupg.links
authorAndre Heinecke <aheinecke@intevation.de>
Wed, 17 Jan 2018 19:07:14 +0000 (20:07 +0100)
committerAndre Heinecke <aheinecke@intevation.de>
Wed, 17 Jan 2018 19:07:14 +0000 (20:07 +0100)
* Makefile: Simply convert any T<Number> into a link
to a task in the dev tracker.

--
Would be better placed in build-history.awk but I don't
awk well.

web/Makefile

index 39723dc..8fbb600 100644 (file)
@@ -39,10 +39,13 @@ subdirs: $(SUBDIRS)
        done
 
 change-history.htm4: build-history.awk NEWS.last
-       LC_ALL=de_DE.latin1 awk -f build-history.awk < NEWS.last > $@
+       LC_ALL=de_DE.latin1 awk -f build-history.awk < NEWS.last | \
+                  sed 's@\(T[0-9]\+\)@<a href="https://dev.gnupg.org/\1">\1</a>@g' > $@
 
 change-history-de.htm4: build-history.awk NEWS.last
-       LC_ALL=de_DE.latin1 awk -f build-history.awk -v lang=de < NEWS.last > $@
+       LC_ALL=de_DE.latin1 awk -f build-history.awk -v lang=de < NEWS.last | \
+                  sed 's@\(T[0-9]\+\)@<a href="https://dev.gnupg.org/\1">\1</a>@g' > $@
+
 
 online: all
        @echo ""