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 /jpeg | |
| 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 'jpeg')
| -rw-r--r-- | jpeg/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/jpeg/Makefile b/jpeg/Makefile index 03aa004d2..f7eaf8022 100644 --- a/jpeg/Makefile +++ b/jpeg/Makefile @@ -64,15 +64,17 @@ clean: # Install everything... # -install: - echo "Installing libfltk_jpeg$(LIBEXT) in $(libdir)..." - -$(MKDIR) $(libdir) - $(RM) $(libdir)/libfltk_jpeg$(LIBEXT) - $(CP) $(LIBJPEG) $(libdir) - $(RANLIB) $(libdir)/libfltk_jpeg$(LIBEXT) +install: $(LIBJPEG) + echo "Installing $(LIBJPEG) in $(libdir)..." + -$(INSTALL_DIR) $(DESTDIR)$(libdir) + $(INSTALL_LIB) $(LIBJPEG) $(DESTDIR)$(libdir) + $(RANLIB) $(DESTDIR)$(libdir)/libfltk_jpeg$(LIBEXT) echo "Installing jpeg headers in $(includedir)/FL/images..." - -$(MKDIR) $(includedir)/FL/images - $(CP) jconfig.h jerror.h jmorecfg.h jpeglib.h $(includedir)/FL/images + -$(INSTALL_DIR) $(DESTDIR)$(includedir)/FL/images + $(INSTALL_DATA) jconfig.h $(DESTDIR)$(includedir)/FL/images + $(INSTALL_DATA) jerror.h $(DESTDIR)$(includedir)/FL/images + $(INSTALL_DATA) jmorecfg.h $(DESTDIR)$(includedir)/FL/images + $(INSTALL_DATA) jpeglib.h $(DESTDIR)$(includedir)/FL/images # |
