diff options
Diffstat (limited to '')
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | Makefile.in | 9 |
2 files changed, 6 insertions, 5 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | all: | 1 | all: |
| 2 | -@echo "Use ./configure first. Thank you." | 2 | -@echo "Please use ./configure first. Thank you." |
| 3 | 3 | ||
| 4 | distclean: | 4 | distclean: |
| 5 | make -f Makefile.in distclean | 5 | make -f Makefile.in distclean |
diff --git a/Makefile.in b/Makefile.in index efaec6f6..5a2300a8 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -164,9 +164,10 @@ install-libs: $(LIBS) | |||
| 164 | -@if [ ! -d $(DESTDIR)$(man3dir) ]; then mkdir -p $(DESTDIR)$(man3dir); fi | 164 | -@if [ ! -d $(DESTDIR)$(man3dir) ]; then mkdir -p $(DESTDIR)$(man3dir); fi |
| 165 | -@if [ ! -d $(DESTDIR)$(pkgconfigdir) ]; then mkdir -p $(DESTDIR)$(pkgconfigdir); fi | 165 | -@if [ ! -d $(DESTDIR)$(pkgconfigdir) ]; then mkdir -p $(DESTDIR)$(pkgconfigdir); fi |
| 166 | cp $(LIBS) $(DESTDIR)$(libdir) | 166 | cp $(LIBS) $(DESTDIR)$(libdir) |
| 167 | cd $(DESTDIR)$(libdir); chmod 755 $(SHAREDLIB) ; chmod u=rw,go=r $(STATICLIB) | 167 | cd $(DESTDIR)$(libdir); chmod u=rw,go=r $(STATICLIB) |
| 168 | -@(cd $(DESTDIR)$(libdir); $(RANLIB) libz.a || true) >/dev/null 2>&1 | 168 | -@(cd $(DESTDIR)$(libdir); $(RANLIB) libz.a || true) >/dev/null 2>&1 |
| 169 | cd $(DESTDIR)$(libdir); if test -f $(SHAREDLIBV); then \ | 169 | -@cd $(DESTDIR)$(libdir); if test "$(SHAREDLIBV)" -a -f $(SHAREDLIBV); then \ |
| 170 | chmod 755 $(SHAREDLIBV); \ | ||
| 170 | rm -f $(SHAREDLIB) $(SHAREDLIBM); \ | 171 | rm -f $(SHAREDLIB) $(SHAREDLIBM); \ |
| 171 | ln -s $(SHAREDLIBV) $(SHAREDLIB); \ | 172 | ln -s $(SHAREDLIBV) $(SHAREDLIB); \ |
| 172 | ln -s $(SHAREDLIBV) $(SHAREDLIBM); \ | 173 | ln -s $(SHAREDLIBV) $(SHAREDLIBM); \ |
| @@ -187,7 +188,7 @@ install: install-libs | |||
| 187 | uninstall: | 188 | uninstall: |
| 188 | cd $(DESTDIR)$(includedir); rm -f zlib.h zconf.h | 189 | cd $(DESTDIR)$(includedir); rm -f zlib.h zconf.h |
| 189 | cd $(DESTDIR)$(libdir); rm -f libz.a; \ | 190 | cd $(DESTDIR)$(libdir); rm -f libz.a; \ |
| 190 | if test -f $(SHAREDLIBV); then \ | 191 | if test "$(SHAREDLIBV)" -a -f $(SHAREDLIBV); then \ |
| 191 | rm -f $(SHAREDLIBV) $(SHAREDLIB) $(SHAREDLIBM); \ | 192 | rm -f $(SHAREDLIBV) $(SHAREDLIB) $(SHAREDLIBM); \ |
| 192 | fi | 193 | fi |
| 193 | cd $(DESTDIR)$(man3dir); rm -f zlib.3 | 194 | cd $(DESTDIR)$(man3dir); rm -f zlib.3 |
| @@ -218,7 +219,7 @@ maintainer-clean: distclean | |||
| 218 | distclean: clean zconf docs | 219 | distclean: clean zconf docs |
| 219 | rm -f Makefile zlib.pc | 220 | rm -f Makefile zlib.pc |
| 220 | -@rm -f .DS_Store | 221 | -@rm -f .DS_Store |
| 221 | -@printf 'all:\n\t-@echo "Use ./configure first. Thank you."\n' > Makefile | 222 | -@printf 'all:\n\t-@echo "Please use ./configure first. Thank you."\n' > Makefile |
| 222 | -@printf '\ndistclean:\n\tmake -f Makefile.in distclean\n' >> Makefile | 223 | -@printf '\ndistclean:\n\tmake -f Makefile.in distclean\n' >> Makefile |
| 223 | -@touch -r Makefile.in Makefile | 224 | -@touch -r Makefile.in Makefile |
| 224 | 225 | ||
