1
0

patch-Makefile_in 809 B

123456789101112131415161718
  1. --- patch-2.5.9.orig/Makefile.in 2003-05-20 18:15:48.000000000 +0200
  2. +++ patch-2.5.9/Makefile.in 2009-06-13 22:52:33.487310060 +0200
  3. @@ -112,11 +112,11 @@ patch$(EXEEXT): $(OBJS)
  4. $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS)
  5. install:: all installdirs
  6. - $(INSTALL_PROGRAM) patch$(EXEEXT) $(bindir)/$(patch_name)$(EXEEXT)
  7. - -$(INSTALL_DATA) $(srcdir)/patch.man $(man1dir)/$(patch_name)$(man1ext)
  8. + $(INSTALL_PROGRAM) patch$(EXEEXT) $(DESTDIR)/$(bindir)/$(patch_name)$(EXEEXT)
  9. + -$(INSTALL_DATA) $(srcdir)/patch.man $(DESTDIR)/$(man1dir)/$(patch_name)$(man1ext)
  10. -installdirs::
  11. - $(SHELL) $(srcdir)/mkinstalldirs $(bindir) $(man1dir)
  12. +installdirs:
  13. + $(SHELL) $(srcdir)/mkinstalldirs $(DESTDIR)/$(bindir) $(DESTDIR)/$(man1dir)
  14. install-strip::
  15. $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install