| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
|
| 4 |
# Uncomment this to turn on verbose mode. |
| 5 |
#export DH_VERBOSE=1 |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ |
| 9 |
|
| 10 |
override_dh_auto_build: |
| 11 |
dh_auto_build -- CFLAGS="-Dinline= $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS) $(shell dpkg-buildflags --get LDFLAGS)" |
| 12 |
|
| 13 |
override_dh_auto_install: |
| 14 |
dh_auto_install -- INSTALL='install --strip-program=true' |
| 15 |
chmod 4755 $(CURDIR)/debian/brightd/usr/bin/brightd |
| 16 |
install -m 0644 -D debian/brightd-xsession $(CURDIR)/debian/brightd/etc/X11/Xsession.d/90brightd |
| 17 |
|
| 18 |
.PHONY: override_dh_auto_build override_dh_auto_install |