[Pkg-voip-commits] r10559 - in /spandsp/trunk/debian: changelog rules

tzafrir at alioth.debian.org tzafrir at alioth.debian.org
Sat Aug 23 20:54:49 UTC 2014


Author: tzafrir
Date: Sat Aug 23 20:54:49 2014
New Revision: 10559

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=10559
Log:
Move spandsp.h to an arch-dependent subdir (Closes: #757804).

Modified:
    spandsp/trunk/debian/changelog
    spandsp/trunk/debian/rules

Modified: spandsp/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/spandsp/trunk/debian/changelog?rev=10559&op=diff
==============================================================================
--- spandsp/trunk/debian/changelog	(original)
+++ spandsp/trunk/debian/changelog	Sat Aug 23 20:54:49 2014
@@ -2,6 +2,7 @@
 
   * NOT RELEASED YET
   * Fix package descriptions (Closes: #757747).
+  * Move spandsp.h to an arch-dependent subdir (Closes: #757804).
 
  -- Tzafrir Cohen <tzafrir at debian.org>  Sat, 09 Aug 2014 19:34:46 +0300
 

Modified: spandsp/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/spandsp/trunk/debian/rules?rev=10559&op=diff
==============================================================================
--- spandsp/trunk/debian/rules	(original)
+++ spandsp/trunk/debian/rules	Sat Aug 23 20:54:49 2014
@@ -1,6 +1,9 @@
 #!/usr/bin/make -f
 %:
 	dh $@ --parallel --with autoreconf
+
+INC_DIR=$(CURDIR)/debian/tmp/usr/include
+INC_DIR_ARCH=$(INC_DIR)/$(DEB_BUILD_MULTIARCH)
 
 override_dh_auto_configure:
 	dh_auto_configure -- --enable-doc --enable-tests
@@ -8,6 +11,11 @@
 override_dh_auto_build:
 	dh_auto_build
 	$(MAKE) html
+
+override_dh_auto_install:
+	dh_auto_install
+	mkdir -p $(INC_DIR_ARCH)
+	mv $(INC_DIR)/spandsp.h $(INC_DIR_ARCH)/
 
 override_dh_clean:
 	$(RM) -rf doc/api/html/




More information about the Pkg-voip-commits mailing list