debian/rules: install and patch the udev rules file at install time
[kinect-audio-setup.git] / debian / rules
1 #!/usr/bin/make -f
2
3 PACKAGE = $(shell dh_listpackages)
4 TMP     = $(CURDIR)/debian/$(PACKAGE)
5
6 %:
7         PREFIX=/usr dh $@ 
8
9 override_dh_auto_install:
10         dh_auto_install
11         $(MAKE) install_udev_rules \
12           DESTDIR=$(TMP) \
13           LOADER_PATH=/usr/sbin/kinect_upload_fw \
14           FIRMWARE_PATH=/lib/firmware/kinect/UACFirmware
15
16 override_dh_installchangelogs:
17         dh_installchangelogs NEWS