summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/control5
-rwxr-xr-xdebian/rules7
-rw-r--r--doc/Makefile.am3
3 files changed, 12 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
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 74a7c4b..fe3f6ff 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -29,3 +29,6 @@ distclean-local:
docs: reference.doxygen @SLV2_SRCDIR@/slv2/*.h
doxygen reference.doxygen
+# Don't install man pages with this target,
+# only install with install-man (for debian package building)
+install-data: