mirror of
https://github.com/fltk/fltk.git
synced 2026-02-06 00:01:57 +08:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user