Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 derives_from_ubuntu := $(shell (dpkg-vendor --derives-from Ubuntu && echo "yes") || echo "no")
4
5
6 %:
7 dh $@
8
9 override_dh_auto_install:
10 dh_auto_install --destdir=debian/tmp
11
12 override_dh_install:
13 dh_install
14 install -D -m 644 src/KodakESP_16.drv $(CURDIR)/debian/printer-driver-c2esp/usr/share/cups/drv/c2esp.drv
15 install -D -m 644 src/KodakESP_C_07.drv $(CURDIR)/debian/printer-driver-c2esp/usr/share/cups/drv/c2espC.drv
16 ifeq ($(derives_from_ubuntu),yes)
17 # Install the apport hook on Ubuntu and derivatives
18 install -D -m 644 debian/ubuntu/apport-hook.py $(CURDIR)/debian/printer-driver-c2esp/usr/share/apport/package-hooks/source_c2esp.py
19 endif