[Pkg-ocaml-maint-commits] [SCM] omake packaging branch, master, updated. debian/0.9.8.5-3-4-18-g6503605

Stephane Glondu steph at glondu.net
Sat Apr 11 15:31:43 UTC 2009


The following commit has been merged in the master branch:
commit 5f8fa5ab79cad72fc9438bad2c7df095ec3ea5df
Author: Stephane Glondu <steph at glondu.net>
Date:   Sat Apr 11 16:46:39 2009 +0200

    Move documentation to (new) arch-indep package

diff --git a/debian/control b/debian/control
index b4f9a03..ba9fa3b 100644
--- a/debian/control
+++ b/debian/control
@@ -20,6 +20,7 @@ Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/omake.git
 Package: omake
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: omake-doc
 Description: build system with automated dependency analysis
  OMake is a build system designed to scale from small projects to very
  large projects spanning many directories. OMake uses a syntax similar
@@ -37,3 +38,18 @@ Description: build system with automated dependency analysis
  exceptions, lexers, and LALR(1) parsers.  Users can easily produce
  architecture independent builds as omake provides a uniform interface
  to its standard library on Linux/Unix, Win32, and OS X.
+
+Package: omake-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Replaces: omake (<< 0.9.8.5-3-5)
+Description: documentation for OMake
+ OMake is a build system designed to scale from small projects to very
+ large projects spanning many directories. OMake uses a syntax similar
+ to GNU make, with many additional features.  It contains
+ specifications for easily building C, OCaml, and LaTeX programs, but
+ can be used to build projects with other languages as well.
+ .
+ This package contains documentation for OMake in html and pdf
+ formats.
diff --git a/debian/docs b/debian/docs
deleted file mode 100644
index 4d48fd6..0000000
--- a/debian/docs
+++ /dev/null
@@ -1,2 +0,0 @@
-doc/html/
-doc/ps/
diff --git a/debian/omake-doc.docs b/debian/omake-doc.docs
new file mode 100644
index 0000000..6df7583
--- /dev/null
+++ b/debian/omake-doc.docs
@@ -0,0 +1,2 @@
+doc/html
+doc/ps/omake-doc.pdf
diff --git a/debian/dirs b/debian/omake.dirs
similarity index 100%
rename from debian/dirs
rename to debian/omake.dirs
diff --git a/debian/omake.install b/debian/omake.install
new file mode 100644
index 0000000..c3cecb0
--- /dev/null
+++ b/debian/omake.install
@@ -0,0 +1,3 @@
+usr/bin/osh
+usr/bin/omake
+usr/lib/omake
diff --git a/debian/rules b/debian/rules
index 5894496..58f118b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,16 +23,14 @@ endif
 	debian/rules unpatch
 
 override_dh_auto_install:
-	$(MAKE) INSTALL_ROOT=$(CURDIR)/debian/omake/ install
-	rm -f $(CURDIR)/debian/omake/usr/bin/ocamldep-omake
-	rm -f $(CURDIR)/debian/omake/usr/bin/cvs_realclean
+	$(MAKE) INSTALL_ROOT=$(CURDIR)/debian/tmp/ install
 
 override_dh_installdocs:
 	dh_installdocs -XCVS -X.cvsignore \
 	  -X.ps -X.eps -X.psd -X.ai -X.tex
 
 override_dh_compress:
-	dh_compress -X.html
+	dh_compress -X.html -X.pdf
 
 override_dh_strip:
 # omake is compiled with -custom

-- 
omake packaging



More information about the Pkg-ocaml-maint-commits mailing list