From c49eb90c7c813f4701982a57ffa8c553f64a7e9c Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Fri, 20 Mar 2009 10:56:28 +0100 Subject: Remove hardcoded libdir to fix 64bit builds --- data/Makefile.am | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/data/Makefile.am b/data/Makefile.am index 1910621..f351193 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -25,21 +25,19 @@ install-data-local: endif cups-gfax: -backenddir = /usr/lib/cups/backend +backenddir = $(DESTDIR)$(libdir)/cups/backend backend_EXEC = cups-gfax -backend_availabledir = /usr/lib/cups/backend-available +backend_availabledir = $(DESTDIR)$(libdir)/cups/backend-available backend_available_EXEC = cups-gfax install-exec-hook: $(INSTALL_PROGRAM) $(backend_EXEC) $(backenddir) $(INSTALL_PROGRAM) $(backend_available_EXEC) $(backend_availabledir) - lpadmin -p Gfax_Facsimile_Printer -v cups-gfax:/ -E uninstall-local: rm -f $(backenddir)/$(backend_EXEC) rm -f $(backend_availabledir)/$(backend_available_EXEC) - lpadmin -x Gfax_Facsimile_Printer EXTRA_DIST = \ $(backend_EXEC) \ -- cgit v1.1-32-gdbae