From e06b0aa86c061385ed0ae62a4c840e01fb482bd3 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Tue, 19 Dec 2017 09:21:31 +0100 Subject: [PATCH] Added OSM logo to html trees Change-Id: I72a5404ae704b35aeb3032d239627fbf5d6744e9 Signed-off-by: garciadeblas --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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): -- 2.25.1