]> granicus.if.org Git - graphviz/commitdiff
Add rule to build schema.html in Makefile
authorMark Hansen <mark@markhansen.co.nz>
Thu, 14 May 2020 11:49:32 +0000 (21:49 +1000)
committerMark Hansen <mark@markhansen.co.nz>
Fri, 29 May 2020 11:42:47 +0000 (21:42 +1000)
Fixes error when running Makefile:

make: *** No rule to make target `schema.html', needed by `all'.  Stop.

doc/infosrc/Makefile

index a1af8cef2930fc34ef665143e2663ea900eb0d41..9a5b20308d1f29285fefec2eb53bff4abdb98aef 100644 (file)
@@ -142,9 +142,11 @@ colors.html : colors.1 colors.n ../../lib/common/color_names ../../lib/common/sv
        cat colors.n >> colors.html
        rm -rf colortmp
 
-output.html : output.1 output.2 outputs mkoutput.sh plugins.png jconvert.py
-       cat output.1 > output.html
+schema.html : jconvert.py graphviz_json_schema.json
        ./jconvert.py graphviz_json_schema.json schema.html
+
+output.html : output.1 output.2 outputs mkoutput.sh plugins.png jconvert.py schema.html
+       cat output.1 > output.html
        ./mkoutput.sh < outputs >> output.html
        cat output.2 >> output.html
 
@@ -215,7 +217,7 @@ clean :
 
 .PHONY: distclean
 distclean : clean
-       rm -f attrs.html colors.html output.html shapes.html lang.html arrows.html
+       rm -f attrs.html colors.html output.html shapes.html lang.html arrows.html schema.html
        rm -f $(A2GIF) $(AGIF) $(SGIF) $(MPJG) $(MGIF) $(MPNG) $(XGIF) shapes
        (for s in $$(cat shapelist); do rm -f $$s.gif; done)