summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) \