]> granicus.if.org Git - graphviz/commitdiff
make install targets need to be conditioned by available languages
authorellson <devnull@localhost>
Mon, 2 May 2005 02:14:23 +0000 (02:14 +0000)
committerellson <devnull@localhost>
Mon, 2 May 2005 02:14:23 +0000 (02:14 +0000)
tclpkg/gv/Makefile.am

index f4c48c52dc4d64a69e65a9b7cf7f82b064c64ad1..b8e93e5dcc2f5cfe81ac6b1d6d43f6790d46f05a 100644 (file)
@@ -125,12 +125,19 @@ gv_tcl.cpp: gv.i
        $(SWIG) -c++ -tcl -namespace -o gv_tcl.cpp gv.i
 
 install-exec-hook:
+if WITH_JAVA
        cp $(top_srcdir)/tclpkg/gv/*.java $(DESTDIR)/$(libdir)/@PACKAGE@/
+endif
+if WITH_PERL
+       cp $(top_srcdir)/tclpkg/gv/*.pm $(DESTDIR)/$(libdir)/@PACKAGE@/
+endif
+if WITH_PHP
        cp $(top_srcdir)/tclpkg/gv/*.php $(DESTDIR)/$(libdir)/@PACKAGE@/
        cp $(top_srcdir)/tclpkg/gv/php_gv.h $(DESTDIR)/$(libdir)/@PACKAGE@/
-       cp $(top_srcdir)/tclpkg/gv/*.pm $(DESTDIR)/$(libdir)/@PACKAGE@/
+endif
+if WITH_PYTHON
        cp $(top_srcdir)/tclpkg/gv/*.py $(DESTDIR)/$(libdir)/@PACKAGE@/
-
+endif
 #      cp $(top_srcdir)/tclpkg/gv/*.cs $(DESTDIR)/$(libdir)/@PACKAGE@/
 #      cp $(top_srcdir)/tclpkg/gv/*.ml $(DESTDIR)/$(libdir)/@PACKAGE@/
 #      cp $(top_srcdir)/tclpkg/gv/*.mli $(DESTDIR)/$(libdir)/@PACKAGE@/