]> granicus.if.org Git - graphviz/commitdiff
fix Javascript binding generation
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 31 Aug 2021 03:02:39 +0000 (20:02 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 4 Sep 2021 16:16:31 +0000 (09:16 -0700)
This appears to have been copied from D bindings without updating the output
filename.

.gitignore
CHANGELOG.md
tclpkg/gv/Makefile.am

index 0417c7a77cbe46c96417e1990c3bb9ffbdc1cdbc..635d62dd0e59cc54a9a09a2cbb3051652e3f21df 100644 (file)
@@ -113,6 +113,7 @@ tclpkg/gv/gv_d.cpp
 tclpkg/gv/gv_d.in
 tclpkg/gv/gv_guile.cpp
 tclpkg/gv/gv_java.cpp
+tclpkg/gv/gv_javascript.cpp
 tclpkg/gv/gv_lua.cpp
 tclpkg/gv/gv_ocaml.cpp
 tclpkg/gv/gv_perl.cpp
index 993962efe10a90b3209648e409b38ad59bb964c7..d35d6f7c80677bbbf951fd43f5dd17f6abe79f2e 100644 (file)
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ## [Unreleased]
 
+### Fixed
+
+- various problems in the generation of Javascript bindings
+
 ## [2.49.0] – 2021-08-28
 
 ### Added
index 7e8886536a3290e9876ad9adbe18579cbbd61589..5ee875291dc62dc71b3020764eb342b26befa12d 100644 (file)
@@ -117,9 +117,8 @@ libgv_javascript_la_SOURCES = $(BASESOURCES) gv_dummy_init.c
 libgv_javascript_la_LIBADD = $(BASELIBS) $(JAVASCRIPT_LIBS)
 libgv_javascript_la_LDFLAGS = -module -avoid-version
 libgv_javascript_la_CPPFLAGS = $(BASECPPFLAGS) $(JAVASCRIPT_INCLUDES)
-# $(D_data): gv_javascript.cpp
 gv_javascript.cpp: gv.i
-       $(SWIG) -c++ -javascript -o gv_d.cpp $(srcdir)/gv.i
+       $(SWIG) -c++ -javascript -o gv_javascript.cpp $(srcdir)/gv.i
 
 pkgluadir = $(pkglibdir)/lua
 LUA_data = 
@@ -653,6 +652,7 @@ CLEANFILES = test_*/* pkgIndex.tcl \
        gv_guile.cpp $(GUILE_data) \
        gv_io.cpp $(IO_data) \
        gv_java.cpp $(JAVA_data) \
+       gv_javascript.cpp \
        gv_lua.cpp $(LUA_data) \
        gv_ocaml.cpp gv.cma gv.cmi gv.mli swig.mli swig.ml swig.cmi swig.cmo gv.ml gv.cmo gv.cmx gv.cmxa gv.a gv.o \
        gv_perl.cpp $(PERL_data) \