diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2018-10-18 14:36:16 -0400 |
---|---|---|
committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2018-10-18 14:36:16 -0400 |
commit | 78312b3c7af4094e6d7039a316c6bd9f354df219 (patch) | |
tree | e8fdada6db99ba2ab3a34ce3c840eb934b5c2873 /scheduler | |
parent | fb863569eb4f51ae62a066dc8049d3ffc0efb0bb (diff) | |
download | cups-78312b3c7af4094e6d7039a316c6bd9f354df219.tar.gz |
Don't install/remove private headers for internal libraries.
Don't install symlinks for internal libraries.
Diffstat (limited to 'scheduler')
-rw-r--r-- | scheduler/Makefile | 40 |
1 files changed, 12 insertions, 28 deletions
diff --git a/scheduler/Makefile b/scheduler/Makefile index 80314a654..5b82ebcbe 100644 --- a/scheduler/Makefile +++ b/scheduler/Makefile @@ -91,7 +91,7 @@ all: $(TARGETS) # Make library targets... # -libs: $(LIBTARGETS) +libs: # @@ -213,6 +213,16 @@ install-data: # install-exec: + if test $(LIBCUPSMIME) != libcupsmime.a; then \ + echo Installing libraries in $(LIBDIR)...; \ + $(INSTALL_DIR) -m 755 $(LIBDIR); \ + $(INSTALL_LIB) $(LIBCUPSMIME) $(LIBDIR); \ + fi + if test "x$(SYMROOT)" != "x"; then \ + $(INSTALL_DIR) $(SYMROOT); \ + cp $(LIBCUPSMIME) $(SYMROOT); \ + dsymutil $(SYMROOT)/$(LIBCUPSMIME); \ + fi echo Installing programs in $(SBINDIR)... $(INSTALL_DIR) -m 755 $(SBINDIR) $(INSTALL_BIN) -m $(CUPS_CUPSD_FILE_PERM) cupsd $(SBINDIR) @@ -244,29 +254,7 @@ install-headers: # Install libraries... # -install-libs: $(INSTALLSTATIC) - echo Installing libraries in $(LIBDIR)... - $(INSTALL_DIR) -m 755 $(LIBDIR) - $(INSTALL_LIB) $(LIBCUPSMIME) $(LIBDIR) - if test $(LIBCUPSMIME) = "libcupsmime.so.1"; then \ - $(RM) $(LIBDIR)/`basename $(LIBCUPSMIME) .1`; \ - $(LN) $(LIBCUPSMIME) $(LIBDIR)/`basename $(LIBCUPSMIME) .1`; \ - fi - if test $(LIBCUPSMIME) = "libcupsmime.1.dylib"; then \ - $(RM) $(LIBDIR)/libcupsmime.dylib; \ - $(LN) $(LIBCUPSMIME) $(LIBDIR)/libcupsmime.dylib; \ - fi - if test "x$(SYMROOT)" != "x"; then \ - $(INSTALL_DIR) $(SYMROOT); \ - cp $(LIBCUPSMIME) $(SYMROOT); \ - dsymutil $(SYMROOT)/$(LIBCUPSMIME); \ - fi - -installstatic: - $(INSTALL_DIR) -m 755 $(LIBDIR) - $(INSTALL_LIB) -m 755 libcupsmime.a $(LIBDIR) - $(RANLIB) $(LIBDIR)/libcupsmime.a - $(CHMOD) 555 $(LIBDIR)/libcupsmime.a +install-libs: # @@ -299,10 +287,6 @@ uninstall: $(RM) $(LIBDIR)/libcupsmime.so $(RM) $(LIBDIR)/libcupsmime.so.1 -$(RMDIR) $(LIBDIR) - -if test "x$(privateinclude)" != x; then \ - $(RM) $(PRIVATEINCLUDE)/mime.h; \ - $(RMDIR) $(PRIVATEINCLUDE); \ - fi if test "x$(INITDIR)" != x; then \ echo Uninstalling init scripts...; \ $(RM) $(BUILDROOT)$(INITDIR)/init.d/cups; \ |