[SCM] stk/master: Build doxygen docs on -indep targets

fsateler at users.alioth.debian.org fsateler at users.alioth.debian.org
Thu May 12 00:32:47 UTC 2016


The following commit has been merged in the master branch:
commit e55b5759d9b2f51056a260a08a1e0562c3dfc413
Author: Felipe Sateler <fsateler at debian.org>
Date:   Wed May 11 21:24:52 2016 -0300

    Build doxygen docs on -indep targets

diff --git a/debian/control b/debian/control
index 96a95b4..ac61387 100644
--- a/debian/control
+++ b/debian/control
@@ -6,14 +6,17 @@ Uploaders:
  Alessio Treglia <alessio at debian.org>,
  Felipe Sateler <fsateler at debian.org>
 Build-Depends:
+ debhelper (>= 9)
+Build-Depends-Arch:
  dh-autoreconf,
  autotools-dev,
- debhelper (>= 9),
  libasound2-dev [linux-any],
  libjack-dev [linux-any],
  libreadline-dev,
  librtaudio-dev (>= 4.1.1~ds0~) [linux-any],
  librtmidi-dev (>= 2.1.0~) [linux-any]
+Build-Depends-Indep:
+ doxygen
 Standards-Version: 3.9.6
 Homepage: http://ccrma.stanford.edu/software/stk/
 Vcs-Git: git://anonscm.debian.org/pkg-multimedia/stk.git
diff --git a/debian/rules b/debian/rules
index 47e026d..41472a1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,7 @@ move_file = [ ! -f $(1) ] || mv $(1) $(2)
 %:
 	dh $@ --with autoreconf,autotools_dev --parallel
 
-override_dh_auto_configure:
+override_dh_auto_configure-arch:
 	for file in $(MOVE_FILES); do \
 		$(call move_file , $${file}, $${file}.bak); \
 	done
@@ -34,11 +34,19 @@ override_dh_auto_configure:
 	mkdir -p src/Release
 	mkdir -p projects/demo/Release
 
+override_dh_auto_configure-indep:
+
 incdir = $(CURDIR)/debian/tmp/usr/include/stk
-override_dh_auto_install:
+override_dh_auto_install-arch:
 	dh_auto_install
 	rm $(incdir)/RtAudio* $(incdir)/RtMidi*
 
+override_dh_auto_build-arch:
+	dh_auto_build
+
+override_dh_auto_build-indep:
+	cd doc/doxygen && doxygen
+
 override_dh_link:
 	dh_link
 # Cleanup realtime-related files
@@ -55,4 +63,5 @@ override_dh_auto_clean:
 	for file in $(MOVE_FILES); do \
 		$(call move_file, $${file}.bak, $${file}); \
 	done
+	rm -rf doc/html
 

-- 
stk packaging



More information about the pkg-multimedia-commits mailing list