From f5549870731e37889c7ad4d31556bef335d793a2 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Wed, 2 Apr 2003 09:16:24 +0000 Subject: [PATCH] distribute also ocaml subdirs --- helm/DEVEL/mathml_editor/Makefile.am | 13 +++++++++++-- helm/DEVEL/mathml_editor/configure.ac | 2 ++ helm/DEVEL/mathml_editor/ocaml/Makefile.am | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/helm/DEVEL/mathml_editor/Makefile.am b/helm/DEVEL/mathml_editor/Makefile.am index d2935d1a3..01765d571 100644 --- a/helm/DEVEL/mathml_editor/Makefile.am +++ b/helm/DEVEL/mathml_editor/Makefile.am @@ -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) + diff --git a/helm/DEVEL/mathml_editor/configure.ac b/helm/DEVEL/mathml_editor/configure.ac index f39a5f93f..1defca274 100644 --- a/helm/DEVEL/mathml_editor/configure.ac +++ b/helm/DEVEL/mathml_editor/configure.ac @@ -256,5 +256,7 @@ AC_CONFIG_FILES([ ocaml/Makefile ocaml/META editex.pc + xsl/Makefile + dict/Makefile ]) AC_OUTPUT diff --git a/helm/DEVEL/mathml_editor/ocaml/Makefile.am b/helm/DEVEL/mathml_editor/ocaml/Makefile.am index 624f1644f..97c09df35 100644 --- a/helm/DEVEL/mathml_editor/ocaml/Makefile.am +++ b/helm/DEVEL/mathml_editor/ocaml/Makefile.am @@ -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) -- 2.39.2