make distclean really removes all
[scilab.git] / scilab / contrib / Makefile.in
index 46759f1..e4ac287 100644 (file)
@@ -579,7 +579,8 @@ maintainer-clean-am: distclean-am maintainer-clean-generic
 
 mostlyclean: mostlyclean-am
 
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool \
+       mostlyclean-local
 
 pdf: pdf-am
 
@@ -602,21 +603,71 @@ uninstall-am:
        install-pdf install-pdf-am install-ps install-ps-am \
        install-strip installcheck installcheck-am installdirs \
        maintainer-clean maintainer-clean-generic mostlyclean \
-       mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-       uninstall uninstall-am
+       mostlyclean-generic mostlyclean-libtool mostlyclean-local pdf \
+       pdf-am ps ps-am uninstall uninstall-am
 
 
 install-data-local:
-       $(mkinstalldirs) -m 755 $(DESTDIR)$(pkgdatadir)/contrib/; \
-       $(mkinstalldirs) -m 755 $(DESTDIR)$(pkgdatadir)/contrib/toolbox_skeleton; \
-       $(mkinstalldirs) -m 755 $(DESTDIR)$(pkgdatadir)/contrib/xcos_toolbox_skeleton; \
-       for file in $(SKELETON_FILES) ; do \
-               filePath=`dirname $(DESTDIR)$(pkgdatadir)/contrib/$$file`; \
-               echo "$(mkinstalldirs) -m 755 $$filePath/"; \
-               $(mkinstalldirs) -m 755 $$filePath/; \
-               echo "$(INSTALL_DATA) $$file $$filePath" ; \
-               $(INSTALL_DATA) "$$file" $$filePath; \
-       done
+    $(mkinstalldirs) -m 755 $(DESTDIR)$(pkgdatadir)/contrib/; \
+    $(mkinstalldirs) -m 755 $(DESTDIR)$(pkgdatadir)/contrib/toolbox_skeleton; \
+    $(mkinstalldirs) -m 755 $(DESTDIR)$(pkgdatadir)/contrib/xcos_toolbox_skeleton; \
+    for file in $(SKELETON_FILES) ; do \
+        filePath=`dirname $(DESTDIR)$(pkgdatadir)/contrib/$$file`; \
+        echo "$(mkinstalldirs) -m 755 $$filePath/"; \
+        $(mkinstalldirs) -m 755 $$filePath/; \
+        echo "$(INSTALL_DATA) $$file $$filePath" ; \
+        $(INSTALL_DATA) "$$file" $$filePath; \
+    done
+
+mostlyclean-local:
+       rm -rf archives \
+       toolbox_skeleton/cleaner.sce \
+       toolbox_skeleton/help/*/master_help.xml \
+       toolbox_skeleton/help/*/scilab_*_help \
+       toolbox_skeleton/jar \
+       toolbox_skeleton/loader.sce \
+       toolbox_skeleton/macros/lib \
+       toolbox_skeleton/macros/names \
+       toolbox_skeleton/sci_gateway/cpp/cleaner.sce \
+       toolbox_skeleton/sci_gateway/cpp/libskeleton_cpp.c \
+       toolbox_skeleton/sci_gateway/cpp/libskeleton_cpp.* \
+       toolbox_skeleton/sci_gateway/cpp/loader.sce \
+       toolbox_skeleton/sci_gateway/c/cleaner.sce \
+       toolbox_skeleton/sci_gateway/cleaner_gateway.sce \
+       toolbox_skeleton/sci_gateway/c/libskeleton_c.c \
+       toolbox_skeleton/sci_gateway/c/libskeleton_c.* \
+       toolbox_skeleton/sci_gateway/c/loader.sce \
+       toolbox_skeleton/sci_gateway/fortran/cleaner.sce \
+       toolbox_skeleton/sci_gateway/fortran/libskeleton_fortran.c \
+       toolbox_skeleton/sci_gateway/fortran/libskeleton_fortran.* \
+       toolbox_skeleton/sci_gateway/fortran/loader.sce \
+       toolbox_skeleton/sci_gateway/loader_gateway.sce \
+       toolbox_skeleton/src/c/cleaner.sce \
+       toolbox_skeleton/src/c/libcsum.* \
+       toolbox_skeleton/src/c/loader.sce \
+       toolbox_skeleton/src/fortran/cleaner.sce \
+       toolbox_skeleton/src/fortran/libfsum.* \
+       toolbox_skeleton/src/fortran/loader.sce \
+       toolbox_skeleton/unloader.sce \
+       xcos_toolbox_skeleton/cleaner.sce \
+       xcos_toolbox_skeleton/help/*/master_help.xml \
+       xcos_toolbox_skeleton/help/*/scilab_*_help \
+       xcos_toolbox_skeleton/jar \
+       xcos_toolbox_skeleton/loader.sce \
+       xcos_toolbox_skeleton/macros/lib \
+       xcos_toolbox_skeleton/macros/names \
+       xcos_toolbox_skeleton/sci_gateway/cleaner.sce \
+       xcos_toolbox_skeleton/sci_gateway/cleaner_gateway.sce \
+       xcos_toolbox_skeleton/sci_gateway/c/lib \
+       xcos_toolbox_skeleton/sci_gateway/c/libskeleton_c.c \
+       xcos_toolbox_skeleton/sci_gateway/c/loader.sce \
+       xcos_toolbox_skeleton/sci_gateway/c/cleaner.sce \
+       xcos_toolbox_skeleton/sci_gateway/c/libxcos_toolbox_skeleton_c.c \
+       xcos_toolbox_skeleton/sci_gateway/c/libxcos_toolbox_skeleton_c.* \
+       xcos_toolbox_skeleton/src/c/cleaner.sce \
+       xcos_toolbox_skeleton/src/c/libxcos_tbx_skel.* \
+       xcos_toolbox_skeleton/src/c/loader.sce \
+       xcos_toolbox_skeleton/unloader.sce
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.