summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/control5
-rwxr-xr-xdebian/rules7
2 files changed, 9 insertions, 3 deletions
diff --git a/debian/control b/debian/control
index 6b78714..c9b5653 100644
--- a/debian/control
+++ b/debian/control
@@ -19,6 +19,11 @@ Description: Development files (headers) for SLV2
Files required for compiling programs which use SLV2, and developer
documentation.
+Package: slv2-doc
+Architecture: any
+Description: Documentation for SLV2
+ Man pages documenting the SLV2 API.
+
Package: slv2-9
Section: libs
Architecture: any
diff --git a/debian/rules b/debian/rules
index 3818d13..582cdf2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -64,12 +64,13 @@ install: build
dh_installdirs
$(MAKE) DESTDIR=$(CURDIR)/debian/slv2-9 install-exec
- $(MAKE) DESTDIR=$(CURDIR)/debian/slv2-9-dev install-data install-man
+ $(MAKE) DESTDIR=$(CURDIR)/debian/slv2-9-dev install-data
+ $(MAKE) DESTDIR=$(CURDIR)/debian/slv2-doc install-man
# Build architecture-independent files here.
binary-indep: build install
-# We have nothing to do by default.
+ dh_installman
# Build architecture-dependent files here.
binary-arch: build install
@@ -88,7 +89,7 @@ binary-arch: build install
# dh_installinit
# dh_installcron
# dh_installinfo
- dh_installman
+# dh_installman
dh_link
dh_strip
dh_compress