Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame^] | 1 | From 5cfe30829174a18ec64e53c84292a0229ffa5602 Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Zolt=C3=A1n=20B=C3=B6sz=C3=B6rm=C3=A9nyi?= |
| 3 | <zboszor@gmail.com> |
| 4 | Date: Thu, 30 Mar 2023 11:31:27 +0200 |
| 5 | Subject: [PATCH] Fix installing ipp-usb quirk |
| 6 | MIME-Version: 1.0 |
| 7 | Content-Type: text/plain; charset=UTF-8 |
| 8 | Content-Transfer-Encoding: 8bit |
| 9 | |
| 10 | Use $(DESTDIR) as installation prefix for |
| 11 | /usr/share/usb-ipp/quirk/HPLIP.conf. |
| 12 | |
| 13 | Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> |
| 14 | --- |
| 15 | Makefile.am | 7 +++---- |
| 16 | 1 file changed, 3 insertions(+), 4 deletions(-) |
| 17 | |
| 18 | diff --git a/Makefile.am b/Makefile.am |
| 19 | index e10364d..f520225 100644 |
| 20 | --- a/Makefile.am |
| 21 | +++ b/Makefile.am |
| 22 | @@ -703,10 +703,9 @@ if !DISBALE_IMAGEPROCESSOR_BUILD |
| 23 | ln -sf $(libdir)/libImageProcessor-x86_32.so $(libdir)/libImageProcessor.so ; \ |
| 24 | fi |
| 25 | endif #DISABLE_IMAGEPROCESSOR |
| 26 | - if [ -d "/usr/share/ipp-usb/quirks/" ]; then \ |
| 27 | - echo "ipp-usb directory exists"; \ |
| 28 | - cp prnt/ipp-usb/HPLIP.conf /usr/share/ipp-usb/quirks/ ; \ |
| 29 | - fi |
| 30 | + install -d -m0755 $(DESTDIR)/usr/share/ipp-usb/quirks ; \ |
| 31 | + echo "ipp-usb directory exists"; \ |
| 32 | + cp prnt/ipp-usb/HPLIP.conf $(DESTDIR)/usr/share/ipp-usb/quirks/ |
| 33 | if !HPLIP_CLASS_DRIVER |
| 34 | # If scanner build, add hpaio entry to sane dll.conf. |
| 35 | if [ "$(scan_build)" = "yes" ]; then \ |
| 36 | -- |
| 37 | 2.39.2 |
| 38 | |