]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix makefile errors on install.
authorMichael R Sweet <michael.r.sweet@gmail.com>
Mon, 29 Oct 2018 22:18:04 +0000 (18:18 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Mon, 29 Oct 2018 22:18:04 +0000 (18:18 -0400)
cups/Makefile

index 19c538e2e74223dcc93372d3daca70676caaf97b..da99f02b6dbf099c2d0af18dfb021e6271ead47e 100644 (file)
@@ -290,7 +290,7 @@ install-libs: $(LIBTARGETS) $(INSTALLSTATIC)
                $(RM) $(LIBDIR)/libcups.dylib; \
                $(LN) $(LIBCUPS) $(LIBDIR)/libcups.dylib; \
        fi
-       -if text "x$(LIBCUPSIMAGE)" != x; then
+       -if test "x$(LIBCUPSIMAGE)" != x; then \
                $(INSTALL_LIB) $(LIBCUPSIMAGE) $(LIBDIR); \
        fi
        -if test "x$(LIBCUPSIMAGE)" = "xlibcupsimage.so.2"; then \
@@ -305,10 +305,10 @@ install-libs: $(LIBTARGETS) $(INSTALLSTATIC)
                $(INSTALL_DIR) $(SYMROOT); \
                cp $(LIBCUPS) $(SYMROOT); \
                dsymutil $(SYMROOT)/$(LIBCUPS); \
-               if text "x$(LIBCUPSIMAGE)" != x; then \
+               if test "x$(LIBCUPSIMAGE)" != x; then \
                        cp $(LIBCUPSIMAGE) $(SYMROOT); \
                        dsymutil $(SYMROOT)/$(LIBCUPSIMAGE); \
-               fi \
+               fi; \
        fi
 
 installstatic: