diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2007-02-06 19:35:28 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2007-02-06 19:35:28 +0000 |
| commit | 44b2ff35cf0e7aa0cb394acb9e44fb39ab068b71 (patch) | |
| tree | 8cd85c1dfcb2f0adfeaa7f5ad8c6c1dc97d76230 /zlib/Makefile | |
| parent | e0381638a027a27f101c95b8c4eb7aad8bf7efb3 (diff) | |
Use install command instead of CHMOD, CP, and MKDIR.
Drop all POSTBUILD stuff as it is no longer used.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'zlib/Makefile')
| -rw-r--r-- | zlib/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/zlib/Makefile b/zlib/Makefile index 919ef51aa..619535fac 100644 --- a/zlib/Makefile +++ b/zlib/Makefile @@ -3,7 +3,7 @@ # # GNU ZIP library makefile for the Fast Light Toolkit (FLTK). # -# Copyright 1997-2005 by Easy Software Products. +# Copyright 1997-2007 by Easy Software Products. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public @@ -58,13 +58,14 @@ clean: install: $(LIBZ) echo "Installing libfltk_z$(LIBEXT) in $(libdir)..." - -$(MKDIR) $(libdir) - $(RM) $(libdir)/libfltk_z$(LIBEXT) - $(CP) $(LIBZ) $(libdir) - $(RANLIB) $(libdir)/libfltk_z$(LIBEXT) + -$(INSTALL_DIR) $(DESTDIR)$(libdir) + $(INSTALL_LIB) libfltk_z$(LIBEXT) $(DESTDIR)$(libdir) + $(RANLIB) $(DESTDIR)$(libdir)/libfltk_z$(LIBEXT) echo "Installing zlib headers in $(includedir)/FL/images..." - -$(MKDIR) $(includedir)/FL/images - $(CP) zconf.h zlib.h zutil.h $(includedir)/FL/images + -$(INSTALL_DIR) $(DESTDIR)$(includedir)/FL/images + $(INSTALL_DATA) zconf.h $(DESTDIR)$(includedir)/FL/images + $(INSTALL_DATA) zlib.h $(DESTDIR)$(includedir)/FL/images + $(INSTALL_DATA) zutil.h $(DESTDIR)$(includedir)/FL/images # |
