Move the header <gpac/configuration.h> into the multiarch path.
authorAlessio Treglia <alessio@debian.org>
Mon, 23 Apr 2012 02:03:35 +0000 (04:03 +0200)
committerAlessio Treglia <alessio@debian.org>
Mon, 23 Apr 2012 02:03:35 +0000 (04:03 +0200)
debian/rules

index f57e3ce3a6d2461f7a81055a4d8668d875673b24..10ff8c690a9077a3357cb714c6419b8e140fbeb3 100755 (executable)
@@ -28,6 +28,10 @@ override_dh_auto_install:
        $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr \
                moddir=$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gpac
        $(MAKE) install-lib prefix=$(CURDIR)/debian/tmp/usr
+       # Move the arch-specific headers into the multiarch path
+       cd debian/tmp/usr/include && \
+       mkdir -p $(DEB_HOST_MULTIARCH)/gpac && \
+       mv gpac/configuration.h $(DEB_HOST_MULTIARCH)/gpac/
        mv debian/tmp/usr/share/man/man1/mp4box.1 \
                debian/tmp/usr/share/man/man1/MP4Box.1
        mv debian/tmp/usr/share/man/man1/mp4client.1 \