From: garciadeblas Date: Tue, 19 Dec 2017 08:21:31 +0000 (+0100) Subject: Added OSM logo to html trees X-Git-Tag: v3.0.3~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=e06b0aa86c061385ed0ae62a4c840e01fb482bd3;p=osm%2FIM.git Added OSM logo to html trees Change-Id: I72a5404ae704b35aeb3032d239627fbf5d6744e9 Signed-off-by: garciadeblas --- diff --git a/Makefile b/Makefile index 5f3b235..9315342 100644 --- a/Makefile +++ b/Makefile @@ -63,6 +63,8 @@ $(TREES_DIR): %.html: $(TREES_DIR) $(Q)echo generating $@ from $*.yang $(Q)pyang $(PYANG_OPTIONS) --path build/yang --path $(MODEL_DIR) -f jstree -o $(TREES_DIR)/$@ $(MODEL_DIR)/$*.yang + $(Q)sed -r -i 's|data\:image/gif\;base64,R0lGODlhS.*RCAA7|https://osm.etsi.org/images/OSM-logo.png\" width=\"175\" height=\"60|g' $(TREES_DIR)/$@ + $(Q)sed -r -i 's|||g' $(TREES_DIR)/$@ %.rec.tree.txt: $(TREES_DIR) $(Q)echo generating $@ from $*.yang @@ -72,6 +74,8 @@ $(TREES_DIR): %.rec.html: $(TREES_DIR) $(Q)echo generating $@ from $*.yang $(Q)pyang $(PYANG_OPTIONS) --path build/yang --path $(MODEL_DIR) -f jstree -o $(TREES_DIR)/$@ $(MODEL_DIR)/rw-project.yang $(MODEL_DIR)/$*.yang + $(Q)sed -r -i 's|data\:image/gif\;base64,R0lGODlhS.*RCAA7|https://osm.etsi.org/images/OSM-logo.png\" width=\"175\" height=\"60|g' $(TREES_DIR)/$@ + $(Q)sed -r -i 's|||g' $(TREES_DIR)/$@ $(Q)mv $(TREES_DIR)/$@ $(TREES_DIR)/$*.html $(RW_PB_EXT):