components/patch/patches/DESTDIR.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Wed, 29 Aug 2012 11:05:56 -0700
changeset 957 255465c5756f
parent 115 c360825c3a3f
permissions -rw-r--r--
Close of build 04.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
83
9ab0deb97868 7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     1
--- patch-2.5.9/Makefile.in.orig	Tue May 20 09:15:48 2003
9ab0deb97868 7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     2
+++ patch-2.5.9/Makefile.in	Thu Feb  3 13:41:39 2011
9ab0deb97868 7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     3
@@ -112,11 +112,11 @@
9ab0deb97868 7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     4
 	$(CC) -o [email protected] $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS)
9ab0deb97868 7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     5
 
9ab0deb97868 7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     6
 install:: all installdirs
9ab0deb97868 7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     7
-	$(INSTALL_PROGRAM) patch$(EXEEXT) $(bindir)/$(patch_name)$(EXEEXT)
9ab0deb97868 7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     8
-	-$(INSTALL_DATA) $(srcdir)/patch.man $(man1dir)/$(patch_name)$(man1ext)
9ab0deb97868 7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     9
+	$(INSTALL_PROGRAM) patch$(EXEEXT) $(DESTDIR)/$(bindir)/$(patch_name)$(EXEEXT)
9ab0deb97868 7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    10
+	-$(INSTALL_DATA) $(srcdir)/patch.man $(DESTDIR)/$(man1dir)/$(patch_name)$(man1ext)
9ab0deb97868 7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    11
 
9ab0deb97868 7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    12
 installdirs::
9ab0deb97868 7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    13
-	$(SHELL) $(srcdir)/mkinstalldirs $(bindir) $(man1dir)
9ab0deb97868 7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    14
+	$(SHELL) $(srcdir)/mkinstalldirs $(DESTDIR)/$(bindir) $(DESTDIR)/$(man1dir)
9ab0deb97868 7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    15
 
9ab0deb97868 7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    16
 install-strip::
9ab0deb97868 7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    17
 	$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install