diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:33:23 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:33:23 -0700 |
commit | 59ca2179ff8ef92e9e8351a11f1a92e7138364c2 (patch) | |
tree | caeafc57710fb521543ce19743c3fb5a557ae68e /Makefile.in | |
parent | 67cc20d0041a32bee12bd9eb20ae218f91b73f77 (diff) | |
download | zlib-59ca2179ff8ef92e9e8351a11f1a92e7138364c2.tar.gz |
zlib 1.2.4-pre2v1.2.4-pre2
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in index efaec6f..5a2300a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -164,9 +164,10 @@ install-libs: $(LIBS) -@if [ ! -d $(DESTDIR)$(man3dir) ]; then mkdir -p $(DESTDIR)$(man3dir); fi -@if [ ! -d $(DESTDIR)$(pkgconfigdir) ]; then mkdir -p $(DESTDIR)$(pkgconfigdir); fi cp $(LIBS) $(DESTDIR)$(libdir) - cd $(DESTDIR)$(libdir); chmod 755 $(SHAREDLIB) ; chmod u=rw,go=r $(STATICLIB) + cd $(DESTDIR)$(libdir); chmod u=rw,go=r $(STATICLIB) -@(cd $(DESTDIR)$(libdir); $(RANLIB) libz.a || true) >/dev/null 2>&1 - cd $(DESTDIR)$(libdir); if test -f $(SHAREDLIBV); then \ + -@cd $(DESTDIR)$(libdir); if test "$(SHAREDLIBV)" -a -f $(SHAREDLIBV); then \ + chmod 755 $(SHAREDLIBV); \ rm -f $(SHAREDLIB) $(SHAREDLIBM); \ ln -s $(SHAREDLIBV) $(SHAREDLIB); \ ln -s $(SHAREDLIBV) $(SHAREDLIBM); \ @@ -187,7 +188,7 @@ install: install-libs uninstall: cd $(DESTDIR)$(includedir); rm -f zlib.h zconf.h cd $(DESTDIR)$(libdir); rm -f libz.a; \ - if test -f $(SHAREDLIBV); then \ + if test "$(SHAREDLIBV)" -a -f $(SHAREDLIBV); then \ rm -f $(SHAREDLIBV) $(SHAREDLIB) $(SHAREDLIBM); \ fi cd $(DESTDIR)$(man3dir); rm -f zlib.3 @@ -218,7 +219,7 @@ maintainer-clean: distclean distclean: clean zconf docs rm -f Makefile zlib.pc -@rm -f .DS_Store - -@printf 'all:\n\t-@echo "Use ./configure first. Thank you."\n' > Makefile + -@printf 'all:\n\t-@echo "Please use ./configure first. Thank you."\n' > Makefile -@printf '\ndistclean:\n\tmake -f Makefile.in distclean\n' >> Makefile -@touch -r Makefile.in Makefile |