diff --git a/debian/changelog b/debian/changelog index 819c999..4b2f893 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,7 @@ * Add Vcs-Git and Vcs-Browser. * Update debhelper to 11. * Add Depends: ${misc:Depends} to Depends. + * Change build systemm from cdbs to debhelper. -- Nobuhiro Iwamatsu Sat, 09 Jun 2018 07:02:39 +0900 diff --git a/debian/control b/debian/control index e180561..1a3f66a 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Priority: optional Maintainer: Debian Bluetooth Maintainers Uploaders: Filippo Giunchedi , Nobuhiro Iwamatsu -Build-Depends: debhelper (>= 11), autotools-dev, cdbs +Build-Depends: debhelper (>= 11), autotools-dev Standards-Version: 4.1.4 Vcs-Git: https://salsa.debian.org/bluetooth-team/bluez-firmware.git Vcs-Browser: https://salsa.debian.org/bluetooth-team/bluez-firmware diff --git a/debian/rules b/debian/rules index f0e0748..42f08d0 100755 --- a/debian/rules +++ b/debian/rules @@ -1,12 +1,15 @@ #!/usr/bin/make -f -include /usr/share/cdbs/1/rules/buildcore.mk -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/rules/simple-patchsys.mk -include /usr/share/cdbs/1/class/autotools.mk -DEB_CONFIGURE_EXTRA_FLAGS = --libdir=/lib +DEB_DESTDIR := debian/bluez-firmware -install/bluez-firmware:: - mkdir -p $(DEB_DESTDIR)usr/share/doc/bluez-firmware - mv $(DEB_DESTDIR)lib/firmware/BCM-LEGAL.txt \ - $(DEB_DESTDIR)usr/share/doc/bluez-firmware/ +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure -- --libdir=/lib + +override_dh_auto_install: + dh_auto_install + mkdir -p $(DEB_DESTDIR)/usr/share/doc/bluez-firmware + mv $(DEB_DESTDIR)/lib/firmware/BCM-LEGAL.txt \ + $(DEB_DESTDIR)/usr/share/doc/bluez-firmware/