--- Makefile.in.orig 2006-08-17 23:32:14.000000000 +0800 +++ Makefile.in 2014-06-09 23:33:17.131279109 +0800 @@ -54,21 +54,21 @@ distclean: clean rm -f Makefile config.h config.status config.log fopen_net.3 fseek_net.3 lseek_net.3 open_net.3 opennet.3 read_net.3 install: all - -$(INSTALL) -d $(libdir) - -$(INSTALL) -d $(includedir) - -$(INSTALL) -d $(mandir) - -$(INSTALL) -d $(mandir)/man3 - -$(INSTALL) -m 644 libopennet.$(SHOBJEXT).def $(libdir)/libopennet.$(SHOBJEXT).def - -$(INSTALL) -m 644 libopennet.$(SHOBJEXT).a $(libdir)/libopennet.$(SHOBJEXT).a - $(INSTALL) -m 755 libopennet.$(SHOBJEXT) $(libdir)/libopennet.$(SHOBJEXT).$(PKGVERS) - $(INSTALL) -m 644 libopennet.$(AREXT) $(libdir)/libopennet.$(AREXT) - $(INSTALL) -m 644 opennet.h $(includedir)/opennet.h - $(INSTALL) -m 644 fopen_net.3 $(mandir)/man3/fopen_net.3 - $(INSTALL) -m 644 lseek_net.3 $(mandir)/man3/lseek_net.3 - $(INSTALL) -m 644 fseek_net.3 $(mandir)/man3/fseek_net.3 - $(INSTALL) -m 644 open_net.3 $(mandir)/man3/open_net.3 - $(INSTALL) -m 644 read_net.3 $(mandir)/man3/read_net.3 - $(INSTALL) -m 644 opennet.3 $(mandir)/man3/opennet.3 - -( cd $(libdir) && rm -f libopennet.$(SHOBJEXT).$(PKGVERSMAJOR) && $(LN_S) libopennet.$(SHOBJEXT).$(PKGVERS) libopennet.$(SHOBJEXT).$(PKGVERSMAJOR) ) - -( cd $(libdir) && rm -f libopennet.$(SHOBJEXT) && $(LN_S) libopennet.$(SHOBJEXT).$(PKGVERS) libopennet.$(SHOBJEXT) ) + -$(INSTALL) -d $(DESTDIR)$(libdir) + -$(INSTALL) -d $(DESTDIR)$(includedir) + -$(INSTALL) -d $(DESTDIR)$(mandir) + -$(INSTALL) -d $(DESTDIR)$(mandir)/man3 + #-$(INSTALL) -m 644 libopennet.$(SHOBJEXT).def $(DESTDIR)$(libdir)/libopennet.$(SHOBJEXT).def + #-$(INSTALL) -m 644 libopennet.$(SHOBJEXT).a $(DESTDIR)$(libdir)/libopennet.$(SHOBJEXT).a + $(INSTALL) -m 755 libopennet.$(SHOBJEXT) $(DESTDIR)$(libdir)/libopennet.$(SHOBJEXT).$(PKGVERS) + $(INSTALL) -m 644 libopennet.$(AREXT) $(DESTDIR)$(libdir)/libopennet.$(AREXT) + $(INSTALL) -m 644 opennet.h $(DESTDIR)$(includedir)/opennet.h + $(INSTALL) -m 644 fopen_net.3 $(DESTDIR)$(mandir)/man3/fopen_net.3 + $(INSTALL) -m 644 lseek_net.3 $(DESTDIR)$(mandir)/man3/lseek_net.3 + $(INSTALL) -m 644 fseek_net.3 $(DESTDIR)$(mandir)/man3/fseek_net.3 + $(INSTALL) -m 644 open_net.3 $(DESTDIR)$(mandir)/man3/open_net.3 + $(INSTALL) -m 644 read_net.3 $(DESTDIR)$(mandir)/man3/read_net.3 + $(INSTALL) -m 644 opennet.3 $(DESTDIR)$(mandir)/man3/opennet.3 + -( cd $(DESTDIR)$(libdir) && rm -f libopennet.$(SHOBJEXT).$(PKGVERSMAJOR) && $(LN_S) libopennet.$(SHOBJEXT).$(PKGVERS) libopennet.$(SHOBJEXT).$(PKGVERSMAJOR) ) + -( cd $(DESTDIR)$(libdir) && rm -f libopennet.$(SHOBJEXT) && $(LN_S) libopennet.$(SHOBJEXT).$(PKGVERS) libopennet.$(SHOBJEXT) )