]> matita.cs.unibo.it Git - helm.git/commitdiff
distribute also ocaml subdirs
authorStefano Zacchiroli <zack@upsilon.cc>
Wed, 2 Apr 2003 09:16:24 +0000 (09:16 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Wed, 2 Apr 2003 09:16:24 +0000 (09:16 +0000)
helm/DEVEL/mathml_editor/Makefile.am
helm/DEVEL/mathml_editor/configure.ac
helm/DEVEL/mathml_editor/ocaml/Makefile.am

index d2935d1a3bdc4734802fd263dcfecf6b409f1604..01765d571559af13492b1e3f30681c0b7616fdf0 100644 (file)
@@ -1,5 +1,7 @@
-EXTRA_DIST = BUGS LICENSE aclocal.m4 editex.pc.in
-SUBDIRS = src test ocaml textomml
+DISTDIR = @PACKAGE@-@VERSION@
+
+EXTRA_DIST = BUGS LICENSE BUGS-GDOME2 MODES PATTERNS aclocal.m4 debian/ editex.pc.in
+SUBDIRS = src test ocaml textomml xsl dict
 CLEANFILES = core
 
 pkgconfigdir = $(libdir)/pkgconfig
@@ -20,3 +22,10 @@ lc:
        ICCFILES=`find . -name "*.icc"`; \
        wc -l $$CFILES $$HFILES $$CCFILES $$HHFILES $$ICCFILES | tail -n 1 \
        )
+
+deb: dist
+       if [ -d $(DISTDIR)/ ]; then rm -rf $(DISTDIR); else true; fi
+       tar xvzf $(DISTDIR).tar.gz
+       (cd $(DISTDIR)/ && debuild)
+       rm -rf $(DISTDIR)
+
index f39a5f93f59f011282ddfac1b65eb644799ee495..1defca274d6cd3ed907564c08028e8e7d4aa127d 100644 (file)
@@ -256,5 +256,7 @@ AC_CONFIG_FILES([
  ocaml/Makefile
  ocaml/META
  editex.pc
+ xsl/Makefile
+ dict/Makefile
 ])
 AC_OUTPUT
index 624f1644f31889e24c271d3bda78d6fc1f46b2c4..97c09df350df28f55c403168280334de64a6848a 100644 (file)
@@ -24,7 +24,7 @@ CMX_S = $(MODULES:%=%.cmx)
 O_S = ml_mathml_editor.o c_mathml_editor.o
 LO_S = $(O_S:%.o=%.lo)
 SHARED_LIBS = $(GMETADOM_LIBS) $(GDOMEXSLT_LIBS) -lmlgdome2-xslt -lmlgdome
-BYTE_STUFF = i_mathml_editor.cmi mathml_editor.cmi $(ARCHIVE).cma $(DLL)
+BYTE_STUFF = i_mathml_editor.cmi mathml_editor.cmi $(ARCHIVE).cma $(DLL) lib$(ARCHIVE).a
 NATIVE_STUFF = $(ARCHIVE).cmxa $(ARCHIVE).a
 BYTE_INSTALL_STUFF = $(BYTE_STUFF) META
 NATIVE_INSTALL_STUFF = $(NATIVE_STUFF)