[Pkg-ocaml-maint-commits] [SCM] js-of-ocaml packaging branch, master, updated. debian/1.0+dfsg-2-7-gc1945b5
Nicolas Dandrimont
Nicolas.Dandrimont at crans.org
Fri May 20 00:25:23 UTC 2011
The following commit has been merged in the master branch:
commit 3c2c3213ad4076f7ecaa6809a7d785856fc9ca6c
Author: Nicolas Dandrimont <Nicolas.Dandrimont at crans.org>
Date: Fri May 20 00:17:18 2011 +0200
Update d/rules for new upstream release
diff --git a/debian/rules b/debian/rules
index a4695c4..2f5972a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,7 +22,7 @@ else
make -C compiler compile
mv compiler/compile compiler/$(COMPILER)
endif
- make library runtime
+ make library runtime doc
.PHONY: override_dh_install
override_dh_install:
@@ -37,11 +37,11 @@ override_dh_auto_install:
mkdir -p $(OCAMLFIND_DESTDIR) $(BINDIR) $(DESTDIR)$(OCAML_DLL_DIR)
$(MAKE) install BINDIR=$(BINDIR)
mkdir -p $(DOCDIR)/html $(DOCDIR)/examples
- cp -a lib/doc $(DOCDIR)/html/api
+ cp -a doc/api-html $(DOCDIR)/html/api
cp -a examples/* $(DOCDIR)/examples
rm -f $(DOCDIR)/examples/*/*.cm* $(DOCDIR)/examples/*/*.byte
.PHONY: override_dh_auto_clean
override_dh_auto_clean:
dh_auto_clean
- rm -Rf lib/doc
+ -cd $(CURDIR)/doc && make clean
\ No newline at end of file
--
js-of-ocaml packaging
More information about the Pkg-ocaml-maint-commits
mailing list