summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-03-20 10:56:28 +0100
committerGravatar Martin Szulecki2009-03-20 10:56:28 +0100
commitc49eb90c7c813f4701982a57ffa8c553f64a7e9c (patch)
tree82b9d4e608746df74b060c2a0125e0d188c6c7af /data
parent806c5f7a413945bb54ff412cc03c799a48be6c22 (diff)
downloadgfax-c49eb90c7c813f4701982a57ffa8c553f64a7e9c.tar.gz
gfax-c49eb90c7c813f4701982a57ffa8c553f64a7e9c.tar.bz2
Remove hardcoded libdir to fix 64bit builds
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am6
1 files 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) \