]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/Makefile
recursive invocation of distr_pre
[helm.git] / matita / Makefile
index 27febffb70b43d580f955618dd5a3b60f12fecf6..a317e78e133abe4dbbe4bf8d10f67d846f9b493e 100644 (file)
@@ -34,10 +34,10 @@ CMOS =                              \
        matitaExcPp.cmo         \
        matitaEngine.cmo        \
        matitacLib.cmo          \
+       applyTransformation.cmo \
+       matitaGtkMisc.cmo       \
        matitaScript.cmo        \
        matitaGeneratedGui.cmo  \
-       matitaGtkMisc.cmo       \
-       applyTransformation.cmo \
        matitaMathView.cmo      \
        matitaGui.cmo           \
        $(NULL)
@@ -110,6 +110,8 @@ links:
                        $(INSTALL_PROGRAMS_LINKS_MATITA); do\
                ln -sf $$X.opt $$X;\
        done
+       $(H)ln -sf matita.opt matita
+       $(H)ln -sf matitac.opt matitac
 
 matita: matita.ml $(LIB_DEPS) $(CMOS)
        $(H)echo "  OCAMLC $<"
@@ -222,6 +224,9 @@ dist_library@%:
 
 endif
 
+dist_pre:
+       $(MAKE) -C dist/ dist_pre
+
 DESTDIR = $(RT_BASE_DIR)
 INSTALL_STUFF =                        \
        icons/                          \