summaryrefslogtreecommitdiff
path: root/packages/debian
diff options
context:
space:
mode:
authorSébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>2020-10-02 14:42:02 +0200
committerDavid Oberhollenzer <goliath@infraroot.at>2020-10-02 23:00:07 +0200
commitd8be4a43c85b1daaa2daf2f4292fda31cd0bbe32 (patch)
tree833bee99498af452587321ce3423fc01db10463e /packages/debian
parent4c5cf3065e583b5769a274a03c1d8782655ad718 (diff)
DEB: Add documentation in libsquashfs-dev
This patch allows to include Doxygen generated documentation to squashfs development package. Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
Diffstat (limited to 'packages/debian')
-rw-r--r--packages/debian/control2
-rw-r--r--packages/debian/libsquashfs-dev.install1
-rwxr-xr-xpackages/debian/rules4
3 files changed, 6 insertions, 1 deletions
diff --git a/packages/debian/control b/packages/debian/control
index a0ba3f5..fe8f213 100644
--- a/packages/debian/control
+++ b/packages/debian/control
@@ -2,7 +2,7 @@ Source: squashfs-tools-ng
Section: kernel
Priority: optional
Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.org>
-Build-Depends: debhelper-compat (= 12), pkg-config, libselinux1-dev [linux-any], liblzma-dev, liblz4-dev, zlib1g-dev, libzstd-dev, liblzo2-dev
+Build-Depends: debhelper-compat (= 12), pkg-config, libselinux1-dev [linux-any], liblzma-dev, liblz4-dev, zlib1g-dev, libzstd-dev, liblzo2-dev, doxygen
Standards-Version: 4.5.0
Homepage: https://github.com/AgentD/squashfs-tools-ng
diff --git a/packages/debian/libsquashfs-dev.install b/packages/debian/libsquashfs-dev.install
index 92a5426..54979e9 100644
--- a/packages/debian/libsquashfs-dev.install
+++ b/packages/debian/libsquashfs-dev.install
@@ -2,3 +2,4 @@ usr/include/
usr/lib/*/libsquashfs.a
usr/lib/*/libsquashfs.so
usr/lib/*/pkgconfig/
+doxygen-doc/* usr/share/doc/libsquashfs-dev
diff --git a/packages/debian/rules b/packages/debian/rules
index ccf7734..adedbc7 100755
--- a/packages/debian/rules
+++ b/packages/debian/rules
@@ -9,6 +9,10 @@ override_dh_auto_install:
# remove libtool .la files
find $(CURDIR)/debian/tmp/ -name '*.la' -delete
+override_dh_auto_build:
+ dh_auto_build
+ $(MAKE) doxygen-doc
+
%:
dh ${@}