~ubuntu-branches/ubuntu/lucid/scilab/lucid

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Sylvestre Ledru
  • Date: 2009-04-28 18:47:03 UTC
  • mfrom: (1.1.7 upstream) (4.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090428184703-7thddz8vtwqmxmx2
Tags: 5.1.1-4
* librefblas3-dev does not exist (yet). Thanks to Jose Ramon
* Do not stop when ocamlopt is not available on the arch 
  (ocaml-not-available.diff)
* Provide a clear error message for archs where modelicac compiler is 
  not available (modelicac-not-available.diff)
* scilab startup script moved from package scilab => scilab-bin (because of
  the ocamlopt problem, I cannot predict if modelicac will be available or
  not. Therefor, I ship usr/bin/ instead of binary per binary. This will
  also simplifies the packaging of Scilab 5.2)

Show diffs side-by-side

added added

removed removed

Lines of Context:
290
290
UMFPACK_LIB = @UMFPACK_LIB@
291
291
VERSION = @VERSION@
292
292
WITH_OCAML = @WITH_OCAML@
 
293
WITH_TKSCI = @WITH_TKSCI@
293
294
XGETTEXT = @XGETTEXT@
294
295
XMKMF = @XMKMF@
295
296
XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
 
297
XML_APIS_EXT = @XML_APIS_EXT@
296
298
XML_CONFIG = @XML_CONFIG@
297
299
XML_FLAGS = @XML_FLAGS@
298
300
XML_LIBS = @XML_LIBS@
351
353
srcdir = @srcdir@
352
354
sysconfdir = @sysconfdir@
353
355
target_alias = @target_alias@
 
356
top_build_prefix = @top_build_prefix@
354
357
top_builddir = @top_builddir@
355
358
top_srcdir = @top_srcdir@
356
359
AUTOMAKE_OPTIONS = 1.9 dist-zip dist-bzip2
1111
1114
@BUILD_HELP_TRUE@       -@if test -x $(top_builddir)/scilab-bin; then \
1112
1115
@BUILD_HELP_TRUE@               cd $(top_builddir);\
1113
1116
@BUILD_HELP_TRUE@               echo "-- Building documentation (English) --"; \
1114
 
@BUILD_HELP_TRUE@               echo "LANG=C SCI_DISABLE_TK=1 DOCBOOK_ROOT=$(DOCBOOK_ROOT) $(top_builddir)/bin/scilab -nb -nouserstartup -nw -e \"xmltojar([],[],'en_US');exit;\"";\
1115
 
@BUILD_HELP_TRUE@               LANG=C SCI_DISABLE_TK=1 DOCBOOK_ROOT=$(DOCBOOK_ROOT) $(top_builddir)/bin/scilab -nb -l en_US -nouserstartup -nw -e "xmltojar([],[],'en_US');exit;";\
 
1117
@BUILD_HELP_TRUE@               echo "LANG=C SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 DOCBOOK_ROOT=$(DOCBOOK_ROOT) $(top_builddir)/bin/scilab -nb -nouserstartup -nw -e \"xmltojar([],[],'en_US');exit;\"";\
 
1118
@BUILD_HELP_TRUE@               LANG=C SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 DOCBOOK_ROOT=$(DOCBOOK_ROOT) $(top_builddir)/bin/scilab -nb -l en_US -nouserstartup -nw -e "xmltojar([],[],'en_US');exit;";\
1116
1119
@BUILD_HELP_TRUE@               echo "-- Building documentation (French) --"; \
1117
 
@BUILD_HELP_TRUE@               echo "SCI_DISABLE_TK=1 DOCBOOK_ROOT=$(DOCBOOK_ROOT) $(top_builddir)/bin/scilab -nb -nouserstartup -nw -e \"xmltojar([],[],'fr_FR');exit;\""; \
1118
 
@BUILD_HELP_TRUE@               SCI_DISABLE_TK=1 DOCBOOK_ROOT=$(DOCBOOK_ROOT) $(top_builddir)/bin/scilab -nb -nouserstartup -nw -e "xmltojar([],[],'fr_FR');exit;"; \
 
1120
@BUILD_HELP_TRUE@               echo "SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 DOCBOOK_ROOT=$(DOCBOOK_ROOT) $(top_builddir)/bin/scilab -nb -nouserstartup -nw -e \"xmltojar([],[],'fr_FR');exit;\""; \
 
1121
@BUILD_HELP_TRUE@               SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 DOCBOOK_ROOT=$(DOCBOOK_ROOT) $(top_builddir)/bin/scilab -nb -nouserstartup -nw -e "xmltojar([],[],'fr_FR');exit;"; \
1119
1122
@BUILD_HELP_TRUE@       else \
1120
1123
@BUILD_HELP_TRUE@               echo "Cannot find Scilab binary"; \
1121
1124
@BUILD_HELP_TRUE@       fi
1141
1144
                echo "Cannot find Scilab binary"; \
1142
1145
        fi
1143
1146
 
1144
 
distclean-recursive: clean-recursive
 
1147
distclean-recursive: distclean-generated clean-recursive
1145
1148
 
1146
 
clean-recursive: clean-doc clean-localization clean-macros
 
1149
clean-recursive: clean-doc clean-localization clean-macros clean-generated
1147
1150
 
1148
1151
clean-macros:
 
1152
# Find is necessary because of subdirs...
1149
1153
        @echo "-- Cleaning macros (*.bin) --"; \
1150
 
        find $(top_builddir) -name "*.bin" | xargs rm 2> /dev/null; \
 
1154
        find $(top_builddir) -name "*.bin" | xargs --no-run-if-empty rm 2> /dev/null; \
1151
1155
        echo "-- Cleaning names files (names) --"; \
1152
 
        find $(top_builddir)/modules/*/macros -name "names" | xargs rm 2> /dev/null; \
 
1156
        find $(top_builddir)/modules/*/macros -name "names" | xargs --no-run-if-empty rm 2> /dev/null; \
1153
1157
        echo "-- Cleaning lib files (lib) --"; \
1154
 
        find $(top_builddir)/modules/*/macros -name "lib" | xargs rm 2> /dev/null
 
1158
        find $(top_builddir)/modules/*/macros -name "lib" | xargs --no-run-if-empty rm 2> /dev/null
1155
1159
 
1156
1160
clean-doc:
1157
1161
        @if test -x $(top_builddir)/scilab-bin; then \
 
1162
                echo "$(top_builddir)/bin/scilab -nwni -nb -l fr -e 'clean_help();exit;'"; \
1158
1163
                $(top_builddir)/bin/scilab -nwni -nb -l fr -e 'clean_help();exit;'; \
 
1164
                echo "$(top_builddir)/bin/scilab -nwni -nb -l en -e 'clean_help();exit;'"; \
1159
1165
                $(top_builddir)/bin/scilab -nwni -nb -l en -e 'clean_help();exit;'; \
1160
1166
        else \
1161
1167
                echo "Cannot find Scilab binary"; \
1162
 
        fi
 
1168
        fi; \
 
1169
        echo "rmdir $(top_builddir)/modules/helptools/javaHelp/"; \
 
1170
        rmdir $(top_builddir)/modules/helptools/javaHelp/; \
 
1171
        echo "rm -rf $(top_builddir)/modules/scicos/help/*/scilab_*_help"; \
 
1172
        rm -rf $(top_builddir)/modules/scicos/help/*/scilab_*_help; \
 
1173
        echo "rm -f $(top_builddir)/modules/scicos/help/en_US/master_help.xml"; \
 
1174
        rm -f $(top_builddir)/modules/scicos/help/en_US/master_help.xml; \
 
1175
        echo "rm -f $(top_builddir)/modules/scicos/jar/"; \
 
1176
        rm -rf $(top_builddir)/modules/scicos/jar/
1163
1177
 
1164
1178
clean-tests:
1165
1179
        @if test -x $(top_builddir)/scilab-bin; then \
1171
1185
clean-localization:
1172
1186
        rm -rf $(top_srcdir)/locale/
1173
1187
 
 
1188
clean-generated:
 
1189
        rm -rf $(top_builddir)/modules/scicos_blocks/build/ 2> /dev/null
 
1190
 
 
1191
distclean-generated: 
 
1192
        rm -f $(top_builddir)/modules/core/includes/stack.h 2> /dev/null
 
1193
 
1174
1194
# The user wants to compile the localization files
1175
1195
# Please note that ALL_LINGUAS is defined in configure.ac
1176
1196
@GENERATE_LOCALIZATION_FILES_TRUE@localization: