Remove the 'toolboxes' menu
[scilab.git] / scilab / contrib / Makefile.am
1 ##########
2 ### Sylvestre Ledru <sylvestre.ledru@inria.fr>
3 ### DIGITEO - Scilab 2008
4 ##########
5
6 # Install the contrib_skeleton directory (the template)
7
8 SKELETON_FILES=toolbox_skeleton/builder.sce \
9 toolbox_skeleton/changelog.txt \
10 toolbox_skeleton/demos/c_sum.dem.sce \
11 toolbox_skeleton/demos/fortran_sum.dem.sce \
12 toolbox_skeleton/demos/scilab_sum.dem.sce \
13 toolbox_skeleton/demos/cpp_find.dem.sce \
14 toolbox_skeleton/demos/toolbox_skeleton.dem.gateway.sce \
15 toolbox_skeleton/etc/toolbox_skeleton.quit \
16 toolbox_skeleton/etc/toolbox_skeleton.start \
17 toolbox_skeleton/help/builder_help.sce \
18 toolbox_skeleton/help/en_US/build_help.sce \
19 toolbox_skeleton/help/en_US/c_sub.xml \
20 toolbox_skeleton/help/en_US/c_sum.xml \
21 toolbox_skeleton/help/en_US/fortran_sum.xml \
22 toolbox_skeleton/help/en_US/scilab_sum.xml \
23 toolbox_skeleton/help/en_US/cpp_find.xml \
24 toolbox_skeleton/help/fr_FR/build_help.sce \
25 toolbox_skeleton/help/fr_FR/c_sub.xml \
26 toolbox_skeleton/help/fr_FR/c_sum.xml \
27 toolbox_skeleton/help/fr_FR/fortran_sum.xml \
28 toolbox_skeleton/help/fr_FR/scilab_sum.xml \
29 toolbox_skeleton/license.txt \
30 toolbox_skeleton/macros/buildmacros.sce \
31 toolbox_skeleton/macros/scilab_sum.sci \
32 toolbox_skeleton/readme.txt \
33 toolbox_skeleton/sci_gateway/builder_gateway.sce \
34 toolbox_skeleton/sci_gateway/c/builder_gateway_c.sce \
35 toolbox_skeleton/sci_gateway/c/sci_csub.c \
36 toolbox_skeleton/sci_gateway/c/sci_csum.c \
37 toolbox_skeleton/sci_gateway/fortran/builder_gateway_fortran.sce \
38 toolbox_skeleton/sci_gateway/fortran/sci_fsum.c \
39 toolbox_skeleton/sci_gateway/cpp/builder_gateway_cpp.sce \
40 toolbox_skeleton/sci_gateway/cpp/sci_cpp_find.cxx \
41 toolbox_skeleton/src/builder_src.sce \
42 toolbox_skeleton/src/c/builder_c.sce \
43 toolbox_skeleton/src/c/csub.c \
44 toolbox_skeleton/src/c/csum.c \
45 toolbox_skeleton/src/fortran/builder_fortran.sce \
46 toolbox_skeleton/src/fortran/fsum.f \
47 toolbox_skeleton/tests/unit_tests/c_sum.tst \
48 toolbox_skeleton/tests/unit_tests/fortran_sum.tst \
49 toolbox_skeleton/tests/unit_tests/scilab_sum.tst \
50 toolbox_skeleton/toolbox_skeleton.iss \
51 toolbox_skeleton/toolbox_skeleton_redist.iss
52
53
54 install-data-local:
55         $(mkinstalldirs) -m 755 $(DESTDIR)$(pkgdatadir)/contrib/; \
56         $(mkinstalldirs) -m 755 $(DESTDIR)$(pkgdatadir)/contrib/toolbox_skeleton; \
57         for file in $(SKELETON_FILES) ; do \
58                 filePath=`dirname $(DESTDIR)$(pkgdatadir)/contrib/$$file`; \
59                 echo "$(mkinstalldirs) -m 755 $$filePath/"; \
60                 $(mkinstalldirs) -m 755 $$filePath/; \
61                 echo "$(INSTALL_DATA) $$file $$filePath" ; \
62                 $(INSTALL_DATA) "$$file" $$filePath; \
63         done