[libpng16] Reverted install of pngconfig.h

This commit is contained in:
Glenn Randers-Pehrson
2011-12-17 09:57:00 -06:00
parent efaeadaa86
commit 0b3634bcc4
41 changed files with 115 additions and 153 deletions

View File

@@ -38,7 +38,7 @@ all: $(LBR) pngtest.ttp
$(LBR): $(OBJS)
$(OBJS): pngpriv.h png.h pngconf.h pngconfig.h pnglibconf.h pnginfo.h pngstruct.h pngdebug.h
$(OBJS): pngconfig.h pngpriv.h png.h pngconf.h pnglibconf.h pnginfo.h pngstruct.h pngdebug.h
pnglibconf.h: scripts/pnglibconf.h.prebuilt
cp scripts/pnglibconf.h.prebuilt pnglibconf.h
@@ -53,14 +53,11 @@ install: libpng.a
-@rm -f $(DESTDIR)$(INCPATH)/png.h
-@rm -f $(DESTDIR)$(INCPATH)/pngconf.h
-@rm -f $(DESTDIR)$(INCPATH)/pnglibconf.h
-@rm -f $(DESTDIR)$(INCPATH)/pngconfig.h
cp png.h $(DESTDIR)$(INCPATH)/libpng
cp pngconf.h $(DESTDIR)$(INCPATH)/libpng
cp pnglibconf.h $(DESTDIR)$(INCPATH)/libpng
cp pngconfig.h $(DESTDIR)$(INCPATH)/libpng
chmod 644 $(DESTDIR)$(INCPATH)/libpng/png.h
chmod 644 $(DESTDIR)$(INCPATH)/libpng/pngconf.h
chmod 644 $(DESTDIR)$(INCPATH)/libpng/pnglibconf.h
chmod 644 $(DESTDIR)$(INCPATH)/libpng/pngconfig.h
(cd $(DESTDIR)$(INCPATH); ln -f -s $(LIBNAME) libpng; \
ln -f -s $(LIBNAME)/* .)