export DH_VERBOSE=1
%:
- dh $@ --with autotools-dev
+ dh $@ --with autotools-dev --with autoreconf
-override_dh_auto_configure:
- autoreconf -i -f
- dh_auto_configure
+override_dh_installudev:
+ cat *.rules > debian/stlink.udev
+ dh_installudev --priority=60