Commit c557ead4 authored by Felix Geyer's avatar Felix Geyer

Add support for nodoc build-profile.

parent 3f0d9d03
......@@ -2,6 +2,7 @@ libsdl2 (2.0.10+dfsg1-1) UNRELEASED; urgency=medium
* New upstream release. (Closes: #939249)
* Drop fix-cross-building-907711.patch, fixed upstream.
* Add support for nodoc build-profile.
-- Felix Geyer <fgeyer@debian.org> Wed, 18 Sep 2019 21:28:15 +0200
......
......@@ -39,7 +39,7 @@ Build-Depends:
libsamplerate0-dev,
wayland-protocols
Build-Depends-Indep:
doxygen
doxygen <!nodoc>
Vcs-Git: https://salsa.debian.org/sdl-team/libsdl2.git
Vcs-Browser: https://salsa.debian.org/sdl-team/libsdl2
Homepage: https://www.libsdl.org/
......@@ -108,6 +108,7 @@ Package: libsdl2-doc
Section: doc
Architecture: all
Multi-Arch: foreign
Build-Profiles: <!nodoc>
Depends:
${misc:Depends},
libjs-jquery
......
......@@ -48,6 +48,8 @@ endif
override_dh_auto_configure:
dh_auto_configure -- $(confflags)
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_build-indep:
GZIP="-9n" tar czf debian/examples.tar.gz test --owner=0 --group=0 --mode=go=rX,u+rw,a-s --clamp-mtime --mtime="@$(SOURCE_DATE_EPOCH)" --sort=name
doxygen docs/doxyfile
......@@ -64,6 +66,8 @@ override_dh_auto_build-indep:
override_dh_installexamples-indep:
dh_installexamples -i --doc-main-package=libsdl2-doc
endif # !nocheck
override_dh_auto_build-arch:
dh_auto_build -- V=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment