]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/DEVEL/lablgtkmathview/Makefile.in
Bug fixed: the debrujinate function (hence the one to compute objects height)
[helm.git] / helm / software / DEVEL / lablgtkmathview / Makefile.in
index ac305e0750799cca6f1690d7225911b8b0b6839b..449c7cdfcbd98c0a4d7778c81aafceec4d4e4e1f 100644 (file)
@@ -2,6 +2,7 @@ PACKAGE = @PACKAGE@
 VERSION = @VERSION@
 INCLUDEDIR = @OCAML_INCLUDE_DIR@
 PROPCC = @OCAML_LIB_DIR@/lablgtk2/propcc
+NATIVE = @HAVE_OCAMLOPT@
 PREFIX = 
 OBJECTS_C = ml_gtk_mathview.o
 OBJECTS = gtkMathViewProps.cmo ogtkMathViewProps.cmo gtk_mathview.cmo gtkMathView.cmo gMathView.cmo gMathViewAux.cmo
@@ -22,7 +23,7 @@ INST =        \
 DIST_FILES = \
   Makefile.in configure.in gMathView.ml gMathView.mli  \
   gMathViewAux.ml gMathViewAux.mli gtkMathView.ml \
-  gtk_mathview.ml ml_gtk_mathview.c META.in .depend debian/ test/ \
+  gtk_mathview.ml ml_gtk_mathview.c META.in .depend test/ \
   configure gtkMathView.props
 DIST_DIR = $(PACKAGE)-$(VERSION)
 DOC_FILES = AUTHORS COPYING ChangeLog NEWS README LICENSE
@@ -44,11 +45,16 @@ TESTDIR = ./test
 TMPDIR = .test
 TMPPKGDIR = $(TMPDIR)/$(PACKAGE)
 
+ifeq ($(NATIVE),yes)
+world: all opt
+else
+world: all
+endif
+
 all: $(ARCHIVE).cma lib$(ARCHIVE).a $(DLL)
 opt: $(ARCHIVE).cmxa $(ARCHIVE).a
 test: $(TESTDIR)/test
 test.opt: $(TESTDIR)/test.opt
-world: all opt
 
 dist:
        rm -rf $(DIST_DIR)/
@@ -61,6 +67,8 @@ dist:
 deb: dist
        if [ -d $(DIST_DIR)/ ]; then rm -rf $(DIST_DIR); else true; fi
        tar xvzf $(DIST_DIR).tar.gz
+       ln -fs $(DIST_DIR).tar.gz $(PACKAGE)_$(VERSION).orig.tar.gz
+       svn export debian $(DIST_DIR)/debian
        (cd $(DIST_DIR)/ && debuild)
        rm -rf $(DIST_DIR)