summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2018-02-20 09:46:07 -0500
committerMichael R Sweet <michael.r.sweet@gmail.com>2018-02-20 09:46:07 -0500
commitab89234de2d9bf36bb59f2aa4873d98e95ca4df2 (patch)
tree1c976771c2b8fe0292dae923611ec3ac46862853 /filter
parentafad2da22d1e301c13472e365a58a5179acb9429 (diff)
downloadcups-ab89234de2d9bf36bb59f2aa4873d98e95ca4df2.tar.gz
Fix installation of filters (Issue #5247)
Diffstat (limited to 'filter')
-rw-r--r--filter/Makefile20
1 files changed, 8 insertions, 12 deletions
diff --git a/filter/Makefile b/filter/Makefile
index 4f67e20e9..433a3ec02 100644
--- a/filter/Makefile
+++ b/filter/Makefile
@@ -1,8 +1,8 @@
#
# Filter makefile for CUPS.
#
-# Copyright 2007-2018 by Apple Inc.
-# Copyright 1997-2006 by Easy Software Products.
+# Copyright © 2007-2018 by Apple Inc.
+# Copyright © 1997-2006 by Easy Software Products.
#
# Licensed under Apache License v2.0. See the file "LICENSE" for more
# information.
@@ -36,14 +36,14 @@ all: $(TARGETS)
# Make library targets...
#
-libs: $(LIBTARGETS)
+libs:
#
# Make unit tests...
#
-unittests: $(UNITTARGETS)
+unittests:
#
@@ -51,8 +51,7 @@ unittests: $(UNITTARGETS)
#
clean:
- $(RM) $(OBJS) $(TARGETS) $(UNITTARGETS)
- $(RM) libcupsimage.so libcupsimage.sl libcupsimage.dylib
+ $(RM) $(OBJS) $(TARGETS)
#
@@ -83,14 +82,12 @@ install-data:
install-exec:
$(INSTALL_DIR) -m 755 $(SERVERBIN)/filter
- for file in $(FILTERS); do \
+ for file in $(TARGETS); do \
$(INSTALL_BIN) $$file $(SERVERBIN)/filter; \
done
- $(RM) $(SERVERBIN)/filter/rastertodymo
- $(LN) rastertolabel $(SERVERBIN)/filter/rastertodymo
if test "x$(SYMROOT)" != "x"; then \
$(INSTALL_DIR) $(SYMROOT); \
- for file in $(FILTERS); do \
+ for file in $(TARGETS); do \
cp $$file $(SYMROOT); \
dsymutil $(SYMROOT)/$$file; \
done \
@@ -116,10 +113,9 @@ install-libs:
#
uninstall:
- for file in $(FILTERS); do \
+ for file in $(TARGETS); do \
$(RM) $(SERVERBIN)/filter/$$file; \
done
- $(RM) $(SERVERBIN)/filter/rastertodymo
-$(RMDIR) $(SERVERBIN)/filter
-$(RMDIR) $(SERVERBIN)