* Install scirenderer.jar (should fix the make install)
[scilab.git] / scilab / Makefile.am
index d51deda..09e6c78 100644 (file)
@@ -419,7 +419,11 @@ DOCIMAGES=scilab_images.jar
 # Path to builded files
 PATHTOHELPFILES = modules/helptools/jar/
 
-# Path javasci to builded files
+# Path to scirenderer jar
+PATHTOSCIRENDERER = modules/scirenderer/jar/
+SCIRENDERERJAR = scirenderer.jar
+
+# Path javasci to built files
 PATHTOJAVASCIDOC = modules/javasci/javadoc/
 JAVASCI_DIRS = . resources \
        org/scilab/modules/javasci/ \
@@ -465,6 +469,11 @@ if BUILD_HELP
        done; \
        fi
 endif
+if !EXTERNAL_SCIRENDERER
+# Also install scirenderer.jar
+       $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$(PATHTOSCIRENDERER)
+       $(INSTALL_DATA) $(top_builddir)/$(PATHTOSCIRENDERER)/$(SCIRENDERERJAR) $(DESTDIR)$(pkgdatadir)/$(PATHTOSCIRENDERER)/
+endif
 
 # Pkgconfig directory
 pkgconfigdir = $(libdir)/pkgconfig