All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cpio: update 2.5 to 2.11
@ 2010-10-11  5:42 Scott Garman
  2010-10-11  5:54 ` Scott Garman
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Scott Garman @ 2010-10-11  5:42 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Scott Garman

Signed-off-by: Scott Garman <sgarman@zenlinux.com>
---
 recipes/cpio/cpio-2.11/statdef.patch |   15 ++++++++
 recipes/cpio/cpio_2.11.bb            |   42 +++++++++++++++++++++++
 recipes/cpio/cpio_2.5.bb             |   42 -----------------------
 recipes/cpio/files/install.patch     |   61 ----------------------------------
 4 files changed, 57 insertions(+), 103 deletions(-)
 create mode 100644 recipes/cpio/cpio-2.11/statdef.patch
 create mode 100644 recipes/cpio/cpio_2.11.bb
 delete mode 100644 recipes/cpio/cpio_2.5.bb
 delete mode 100644 recipes/cpio/files/install.patch

diff --git a/recipes/cpio/cpio-2.11/statdef.patch b/recipes/cpio/cpio-2.11/statdef.patch
new file mode 100644
index 0000000..059976c
--- /dev/null
+++ b/recipes/cpio/cpio-2.11/statdef.patch
@@ -0,0 +1,15 @@
+# Avoid multiple stat definitions
+# Patch taken from cpio mailing list posting 2010-03-19
+#
+# Signed-off-by: Scott Garman <sgarman@zenlinux.com>
+
+diff -urN cpio-2.11.orig/src/filetypes.h cpio-2.11/src/filetypes.h
+--- cpio-2.11.orig/src/filetypes.h	2010-02-12 02:19:23.000000000 -0800
++++ cpio-2.11/src/filetypes.h	2010-07-23 13:17:25.000000000 -0700
+@@ -82,4 +82,6 @@
+ #define lstat stat
+ #endif
+ int lstat ();
++#ifndef stat
+ int stat ();
++#endif
diff --git a/recipes/cpio/cpio_2.11.bb b/recipes/cpio/cpio_2.11.bb
new file mode 100644
index 0000000..42b3676
--- /dev/null
+++ b/recipes/cpio/cpio_2.11.bb
@@ -0,0 +1,42 @@
+DESCRIPTION = "GNU cpio is a program to manage archives of files."
+HOMEPAGE = "http://www.gnu.org/software/cpio/"
+SECTION = "console"
+LICENSE = "GPLv3"
+PR = "r0"
+
+DEPENDS = "texinfo-native"
+
+SRC_URI = "${GNU_MIRROR}/cpio/cpio-${PV}.tar.gz \
+           file://statdef.patch \
+          "
+
+SRC_URI[md5sum] = "1112bb6c45863468b5496ba128792f6c"
+SRC_URI[sha256sum] = "601b1d774cd6e4cd39416203c91ec59dbd65dd27d79d75e1a9b89497ea643978"
+
+inherit autotools gettext
+
+do_install () {
+    autotools_do_install
+    install -d ${D}${base_bindir}/
+    mv "${D}${bindir}/cpio" "${D}${base_bindir}/cpio.${PN}"
+    case ${TARGET_OS} in
+        *-uclibc*) ;;
+        *) mv "${D}${libexecdir}/rmt" "${D}${libexecdir}/rmt.${PN}" ;;
+    esac
+}
+
+pkg_postinst_${PN} () {
+    update-alternatives --install ${base_bindir}/cpio cpio cpio.${PN} 100
+    if [ -f ${libexecdir}/rmt.${PN} ]
+    then
+        update-alternatives --install ${libexecdir}/rmt rmt rmt.${PN} 50
+    fi
+}
+
+pkg_prerm_${PN} () {
+    update-alternatives --remove cpio cpio.${PN}
+    if [ -f ${libexecdir}/rmt.${PN} ]
+    then
+        update-alternatives --remove rmt rmt.${PN}
+    fi
+}
diff --git a/recipes/cpio/cpio_2.5.bb b/recipes/cpio/cpio_2.5.bb
deleted file mode 100644
index b4504ba..0000000
--- a/recipes/cpio/cpio_2.5.bb
+++ /dev/null
@@ -1,42 +0,0 @@
-DESCRIPTION = "GNU cpio is a program to manage archives of files."
-HOMEPAGE = "http://www.gnu.org/software/cpio/"
-SECTION = "console"
-LICENSE = "GPL"
-PR = "r5"
-
-DEPENDS += " texinfo-native "
-
-SRC_URI = "${GNU_MIRROR}/cpio/cpio-${PV}.tar.gz \
-	   file://install.patch"
-S = "${WORKDIR}/cpio-${PV}"
-
-inherit autotools
-
-do_install () {
-	autotools_do_install
-	install -d ${D}${base_bindir}/
-	mv "${D}${bindir}/cpio" "${D}${base_bindir}/cpio.${PN}"
-	case ${TARGET_OS} in
-		*-uclibc*) ;;
-		*) mv "${D}${libexecdir}/rmt" "${D}${libexecdir}/rmt.${PN}" ;;
-	esac
-}
-
-pkg_postinst_${PN} () {
-	update-alternatives --install ${base_bindir}/cpio cpio cpio.${PN} 100
-	if [ -f ${libexecdir}/rmt.${PN} ]
-	then
-		update-alternatives --install ${libexecdir}/rmt rmt rmt.${PN} 50
-	fi
-}
-
-pkg_prerm_${PN} () {
-	update-alternatives --remove cpio cpio.${PN}
-	if [ -f ${libexecdir}/rmt.${PN} ]
-	then
-		update-alternatives --remove rmt rmt.${PN}
-	fi
-}
-
-SRC_URI[md5sum] = "e02859af1bbbbd73fcbf757acb57e0a4"
-SRC_URI[sha256sum] = "dbf79293d0cafa7d7a3a266c2b0b90c00d556e7b3185d4243c74153291da24c8"
diff --git a/recipes/cpio/files/install.patch b/recipes/cpio/files/install.patch
deleted file mode 100644
index 3554156..0000000
--- a/recipes/cpio/files/install.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- cpio-2.5/Makefile.in~install.patch
-+++ cpio-2.5/Makefile.in
-@@ -70,6 +70,7 @@
- # Prefix for each installed man page, normally empty or `g'.
- manprefix = 
- 
-+DESTDIR =
- 
- # Where to install the cpio and mt executables.
- bindir = @bindir@
-@@ -123,19 +124,19 @@
- 	$(CC) -c $(CPPFLAGS) $(DEFS) -I$(srcdir) $(CFLAGS) $<
- 
- install:: installdirs all $(srcdir)/cpio.1 $(srcdir)/mt.1
--	$(INSTALL_PROGRAM) cpio $(bindir)/$(binprefix)cpio
--	test ! -f mt || $(INSTALL_PROGRAM) mt $(bindir)/$(binprefix)mt
--	-test ! -f rmt || $(INSTALL_PROGRAM) rmt $(libexecdir)/rmt
--	-$(INSTALL_DATA) $(srcdir)/cpio.1 $(mandir)/$(manprefix)cpio.$(manext)
--	-test ! -f mt || $(INSTALL_DATA) $(srcdir)/mt.1 $(mandir)/$(manprefix)mt.$(manext)
-+	$(INSTALL_PROGRAM) -D cpio $(DESTDIR)$(bindir)/$(binprefix)cpio
-+	test ! -f mt || $(INSTALL_PROGRAM) -D mt $(DESTDIR)$(bindir)/$(binprefix)mt
-+	-test ! -f rmt || $(INSTALL_PROGRAM) -D rmt $(DESTDIR)$(libexecdir)/rmt
-+	-$(INSTALL_DATA) -D $(srcdir)/cpio.1 $(DESTDIR)$(mandir)/$(manprefix)cpio.$(manext)
-+	-test ! -f mt || $(INSTALL_DATA) -D $(srcdir)/mt.1 $(DESTDIR)$(mandir)/$(manprefix)mt.$(manext)
- 
- installdirs:
--	$(srcdir)/mkinstalldirs $(bindir) $(libexecdir) $(mandir) $(infodir)
-+	$(srcdir)/mkinstalldirs $(DESTDIR)/$(bindir) $(DESTDIR)/$(libexecdir) $(DESTDIR)/$(mandir) $(DESTDIR)/$(infodir)
- 
- uninstall::
--	cd $(bindir); rm -f $(binprefix)cpio $(binprefix)mt
--	-rm -f $(libexecdir)/rmt
--	cd $(mandir); rm -f $(manprefix)cpio.$(manext) $(manprefix)mt.$(manext)
-+	cd $(DESTDIR)$(bindir); rm -f $(binprefix)cpio $(binprefix)mt
-+	-rm -f $(DESTDIR)$(libexecdir)/rmt
-+	cd $(DESTDIR)$(mandir); rm -f $(manprefix)cpio.$(manext) $(manprefix)mt.$(manext)
- 
- check:
- 	@echo No tests are supplied.
-@@ -186,14 +187,14 @@
- 
- install-info: $(INFO_DEPS)
- 	for file in *.info*; do \
--	  $(INSTALL_DATA) $$file $(infodir)/$$file; \
-+	  $(INSTALL_DATA) -D $$file $(DESTDIR)$(infodir)/$$file; \
- 	done
- 
- uninstall:: uninstall-info
- 
- uninstall-info:
- 	for file in *.info*; do \
--	  rm -f $(infodir)/$$file; \
-+	  rm -f $(DESTDIR)$(infodir)/$$file; \
- 	done
- 
- clean:
-- 
1.6.3.3




^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] cpio: update 2.5 to 2.11
  2010-10-11  5:42 [PATCH] cpio: update 2.5 to 2.11 Scott Garman
@ 2010-10-11  5:54 ` Scott Garman
  2010-10-11  8:38   ` OT: git format-patch -M (was: [PATCH] cpio: update 2.5 to 2.11) Paul Menzel
  2010-10-11  8:36 ` [PATCH] cpio: update 2.5 to 2.11 Paul Menzel
  2010-10-11 17:50 ` [PATCH v2] " Scott Garman
  2 siblings, 1 reply; 6+ messages in thread
From: Scott Garman @ 2010-10-11  5:54 UTC (permalink / raw)
  To: openembedded-devel

On 10/10/2010 10:42 PM, Scott Garman wrote:
> Signed-off-by: Scott Garman<sgarman@zenlinux.com>
> ---
>   recipes/cpio/cpio-2.11/statdef.patch |   15 ++++++++
>   recipes/cpio/cpio_2.11.bb            |   42 +++++++++++++++++++++++
>   recipes/cpio/cpio_2.5.bb             |   42 -----------------------
>   recipes/cpio/files/install.patch     |   61 ----------------------------------
>   4 files changed, 57 insertions(+), 103 deletions(-)
>   create mode 100644 recipes/cpio/cpio-2.11/statdef.patch
>   create mode 100644 recipes/cpio/cpio_2.11.bb
>   delete mode 100644 recipes/cpio/cpio_2.5.bb
>   delete mode 100644 recipes/cpio/files/install.patch

I'd like to point out that I used git mv to rename cpio_2.5.bb to 
cpio_2.11.bb, but git format-patch refuses to show the rename. I tried 
passing it the -M flag and also setting diff.renames to true in my 
.gitconfig file. So I'm not sure what's causing the problem.

Scott

-- 
Scott Garman
sgarman at zenlinux dot com



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] cpio: update 2.5 to 2.11
  2010-10-11  5:42 [PATCH] cpio: update 2.5 to 2.11 Scott Garman
  2010-10-11  5:54 ` Scott Garman
@ 2010-10-11  8:36 ` Paul Menzel
  2010-10-11 17:45   ` Scott Garman
  2010-10-11 17:50 ` [PATCH v2] " Scott Garman
  2 siblings, 1 reply; 6+ messages in thread
From: Paul Menzel @ 2010-10-11  8:36 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1238 bytes --]

Am Sonntag, den 10.10.2010, 22:42 -0700 schrieb Scott Garman:
> Signed-off-by: Scott Garman <sgarman@zenlinux.com>

I build tested your patch for minimal-eglibc for `MACHINE =
"beagleboard"`.

> ---
>  recipes/cpio/cpio-2.11/statdef.patch |   15 ++++++++
>  recipes/cpio/cpio_2.11.bb            |   42 +++++++++++++++++++++++
>  recipes/cpio/cpio_2.5.bb             |   42 -----------------------
>  recipes/cpio/files/install.patch     |   61 ----------------------------------
>  4 files changed, 57 insertions(+), 103 deletions(-)
>  create mode 100644 recipes/cpio/cpio-2.11/statdef.patch
>  create mode 100644 recipes/cpio/cpio_2.11.bb
>  delete mode 100644 recipes/cpio/cpio_2.5.bb
>  delete mode 100644 recipes/cpio/files/install.patch
> 
> diff --git a/recipes/cpio/cpio-2.11/statdef.patch b/recipes/cpio/cpio-2.11/statdef.patch
> new file mode 100644
> index 0000000..059976c
> --- /dev/null
> +++ b/recipes/cpio/cpio-2.11/statdef.patch
> @@ -0,0 +1,15 @@
> +# Avoid multiple stat definitions
> +# Patch taken from cpio mailing list posting 2010-03-19
> +#
> +# Signed-off-by: Scott Garman <sgarman@zenlinux.com>

Please include the link to that message in the archive.

[…]


Thanks,

Paul

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* OT: git format-patch -M (was: [PATCH] cpio: update 2.5 to 2.11)
  2010-10-11  5:54 ` Scott Garman
@ 2010-10-11  8:38   ` Paul Menzel
  0 siblings, 0 replies; 6+ messages in thread
From: Paul Menzel @ 2010-10-11  8:38 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1155 bytes --]

Am Sonntag, den 10.10.2010, 22:54 -0700 schrieb Scott Garman:
> On 10/10/2010 10:42 PM, Scott Garman wrote:
> > Signed-off-by: Scott Garman<sgarman@zenlinux.com>
> > ---
> >   recipes/cpio/cpio-2.11/statdef.patch |   15 ++++++++
> >   recipes/cpio/cpio_2.11.bb            |   42 +++++++++++++++++++++++
> >   recipes/cpio/cpio_2.5.bb             |   42 -----------------------
> >   recipes/cpio/files/install.patch     |   61 ----------------------------------
> >   4 files changed, 57 insertions(+), 103 deletions(-)
> >   create mode 100644 recipes/cpio/cpio-2.11/statdef.patch
> >   create mode 100644 recipes/cpio/cpio_2.11.bb
> >   delete mode 100644 recipes/cpio/cpio_2.5.bb
> >   delete mode 100644 recipes/cpio/files/install.patch
> 
> I'd like to point out that I used git mv to rename cpio_2.5.bb to 
> cpio_2.11.bb, but git format-patch refuses to show the rename. I tried 
> passing it the -M flag and also setting diff.renames to true in my 
> .gitconfig file. So I'm not sure what's causing the problem.

Well my guess is, that it is due to the changed checksums, so that it is
not only a rename.


Thanks,

Paul

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] cpio: update 2.5 to 2.11
  2010-10-11  8:36 ` [PATCH] cpio: update 2.5 to 2.11 Paul Menzel
@ 2010-10-11 17:45   ` Scott Garman
  0 siblings, 0 replies; 6+ messages in thread
From: Scott Garman @ 2010-10-11 17:45 UTC (permalink / raw)
  To: openembedded-devel

On 10/11/2010 01:36 AM, Paul Menzel wrote:
> Am Sonntag, den 10.10.2010, 22:42 -0700 schrieb Scott Garman:
>> Signed-off-by: Scott Garman<sgarman@zenlinux.com>
>
> I build tested your patch for minimal-eglibc for `MACHINE =
> "beagleboard"`.

Thanks!

>> diff --git a/recipes/cpio/cpio-2.11/statdef.patch b/recipes/cpio/cpio-2.11/statdef.patch
>> new file mode 100644
>> index 0000000..059976c
>> --- /dev/null
>> +++ b/recipes/cpio/cpio-2.11/statdef.patch
>> @@ -0,0 +1,15 @@
>> +# Avoid multiple stat definitions
>> +# Patch taken from cpio mailing list posting 2010-03-19
>> +#
>> +# Signed-off-by: Scott Garman<sgarman@zenlinux.com>
>
> Please include the link to that message in the archive.

Will do, respin on its way shortly...

Scott

-- 
Scott Garman
sgarman at zenlinux dot com



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v2] cpio: update 2.5 to 2.11
  2010-10-11  5:42 [PATCH] cpio: update 2.5 to 2.11 Scott Garman
  2010-10-11  5:54 ` Scott Garman
  2010-10-11  8:36 ` [PATCH] cpio: update 2.5 to 2.11 Paul Menzel
@ 2010-10-11 17:50 ` Scott Garman
  2 siblings, 0 replies; 6+ messages in thread
From: Scott Garman @ 2010-10-11 17:50 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Scott Garman

Signed-off-by: Scott Garman <sgarman@zenlinux.com>
---
 recipes/cpio/cpio-2.11/statdef.patch |   16 +++++++++
 recipes/cpio/cpio_2.11.bb            |   42 +++++++++++++++++++++++
 recipes/cpio/cpio_2.5.bb             |   42 -----------------------
 recipes/cpio/files/install.patch     |   61 ----------------------------------
 4 files changed, 58 insertions(+), 103 deletions(-)
 create mode 100644 recipes/cpio/cpio-2.11/statdef.patch
 create mode 100644 recipes/cpio/cpio_2.11.bb
 delete mode 100644 recipes/cpio/cpio_2.5.bb
 delete mode 100644 recipes/cpio/files/install.patch

diff --git a/recipes/cpio/cpio-2.11/statdef.patch b/recipes/cpio/cpio-2.11/statdef.patch
new file mode 100644
index 0000000..c3117c9
--- /dev/null
+++ b/recipes/cpio/cpio-2.11/statdef.patch
@@ -0,0 +1,16 @@
+# Avoid multiple stat definitions
+# Patch written by Naohiro Aota, taken from cpio mailing list:
+# http://lists.gnu.org/archive/html/bug-cpio/2010-03/msg00005.html
+#
+# Signed-off-by: Scott Garman <sgarman@zenlinux.com>
+
+diff -urN cpio-2.11.orig/src/filetypes.h cpio-2.11/src/filetypes.h
+--- cpio-2.11.orig/src/filetypes.h	2010-02-12 02:19:23.000000000 -0800
++++ cpio-2.11/src/filetypes.h	2010-07-23 13:17:25.000000000 -0700
+@@ -82,4 +82,6 @@
+ #define lstat stat
+ #endif
+ int lstat ();
++#ifndef stat
+ int stat ();
++#endif
diff --git a/recipes/cpio/cpio_2.11.bb b/recipes/cpio/cpio_2.11.bb
new file mode 100644
index 0000000..42b3676
--- /dev/null
+++ b/recipes/cpio/cpio_2.11.bb
@@ -0,0 +1,42 @@
+DESCRIPTION = "GNU cpio is a program to manage archives of files."
+HOMEPAGE = "http://www.gnu.org/software/cpio/"
+SECTION = "console"
+LICENSE = "GPLv3"
+PR = "r0"
+
+DEPENDS = "texinfo-native"
+
+SRC_URI = "${GNU_MIRROR}/cpio/cpio-${PV}.tar.gz \
+           file://statdef.patch \
+          "
+
+SRC_URI[md5sum] = "1112bb6c45863468b5496ba128792f6c"
+SRC_URI[sha256sum] = "601b1d774cd6e4cd39416203c91ec59dbd65dd27d79d75e1a9b89497ea643978"
+
+inherit autotools gettext
+
+do_install () {
+    autotools_do_install
+    install -d ${D}${base_bindir}/
+    mv "${D}${bindir}/cpio" "${D}${base_bindir}/cpio.${PN}"
+    case ${TARGET_OS} in
+        *-uclibc*) ;;
+        *) mv "${D}${libexecdir}/rmt" "${D}${libexecdir}/rmt.${PN}" ;;
+    esac
+}
+
+pkg_postinst_${PN} () {
+    update-alternatives --install ${base_bindir}/cpio cpio cpio.${PN} 100
+    if [ -f ${libexecdir}/rmt.${PN} ]
+    then
+        update-alternatives --install ${libexecdir}/rmt rmt rmt.${PN} 50
+    fi
+}
+
+pkg_prerm_${PN} () {
+    update-alternatives --remove cpio cpio.${PN}
+    if [ -f ${libexecdir}/rmt.${PN} ]
+    then
+        update-alternatives --remove rmt rmt.${PN}
+    fi
+}
diff --git a/recipes/cpio/cpio_2.5.bb b/recipes/cpio/cpio_2.5.bb
deleted file mode 100644
index b4504ba..0000000
--- a/recipes/cpio/cpio_2.5.bb
+++ /dev/null
@@ -1,42 +0,0 @@
-DESCRIPTION = "GNU cpio is a program to manage archives of files."
-HOMEPAGE = "http://www.gnu.org/software/cpio/"
-SECTION = "console"
-LICENSE = "GPL"
-PR = "r5"
-
-DEPENDS += " texinfo-native "
-
-SRC_URI = "${GNU_MIRROR}/cpio/cpio-${PV}.tar.gz \
-	   file://install.patch"
-S = "${WORKDIR}/cpio-${PV}"
-
-inherit autotools
-
-do_install () {
-	autotools_do_install
-	install -d ${D}${base_bindir}/
-	mv "${D}${bindir}/cpio" "${D}${base_bindir}/cpio.${PN}"
-	case ${TARGET_OS} in
-		*-uclibc*) ;;
-		*) mv "${D}${libexecdir}/rmt" "${D}${libexecdir}/rmt.${PN}" ;;
-	esac
-}
-
-pkg_postinst_${PN} () {
-	update-alternatives --install ${base_bindir}/cpio cpio cpio.${PN} 100
-	if [ -f ${libexecdir}/rmt.${PN} ]
-	then
-		update-alternatives --install ${libexecdir}/rmt rmt rmt.${PN} 50
-	fi
-}
-
-pkg_prerm_${PN} () {
-	update-alternatives --remove cpio cpio.${PN}
-	if [ -f ${libexecdir}/rmt.${PN} ]
-	then
-		update-alternatives --remove rmt rmt.${PN}
-	fi
-}
-
-SRC_URI[md5sum] = "e02859af1bbbbd73fcbf757acb57e0a4"
-SRC_URI[sha256sum] = "dbf79293d0cafa7d7a3a266c2b0b90c00d556e7b3185d4243c74153291da24c8"
diff --git a/recipes/cpio/files/install.patch b/recipes/cpio/files/install.patch
deleted file mode 100644
index 3554156..0000000
--- a/recipes/cpio/files/install.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- cpio-2.5/Makefile.in~install.patch
-+++ cpio-2.5/Makefile.in
-@@ -70,6 +70,7 @@
- # Prefix for each installed man page, normally empty or `g'.
- manprefix = 
- 
-+DESTDIR =
- 
- # Where to install the cpio and mt executables.
- bindir = @bindir@
-@@ -123,19 +124,19 @@
- 	$(CC) -c $(CPPFLAGS) $(DEFS) -I$(srcdir) $(CFLAGS) $<
- 
- install:: installdirs all $(srcdir)/cpio.1 $(srcdir)/mt.1
--	$(INSTALL_PROGRAM) cpio $(bindir)/$(binprefix)cpio
--	test ! -f mt || $(INSTALL_PROGRAM) mt $(bindir)/$(binprefix)mt
--	-test ! -f rmt || $(INSTALL_PROGRAM) rmt $(libexecdir)/rmt
--	-$(INSTALL_DATA) $(srcdir)/cpio.1 $(mandir)/$(manprefix)cpio.$(manext)
--	-test ! -f mt || $(INSTALL_DATA) $(srcdir)/mt.1 $(mandir)/$(manprefix)mt.$(manext)
-+	$(INSTALL_PROGRAM) -D cpio $(DESTDIR)$(bindir)/$(binprefix)cpio
-+	test ! -f mt || $(INSTALL_PROGRAM) -D mt $(DESTDIR)$(bindir)/$(binprefix)mt
-+	-test ! -f rmt || $(INSTALL_PROGRAM) -D rmt $(DESTDIR)$(libexecdir)/rmt
-+	-$(INSTALL_DATA) -D $(srcdir)/cpio.1 $(DESTDIR)$(mandir)/$(manprefix)cpio.$(manext)
-+	-test ! -f mt || $(INSTALL_DATA) -D $(srcdir)/mt.1 $(DESTDIR)$(mandir)/$(manprefix)mt.$(manext)
- 
- installdirs:
--	$(srcdir)/mkinstalldirs $(bindir) $(libexecdir) $(mandir) $(infodir)
-+	$(srcdir)/mkinstalldirs $(DESTDIR)/$(bindir) $(DESTDIR)/$(libexecdir) $(DESTDIR)/$(mandir) $(DESTDIR)/$(infodir)
- 
- uninstall::
--	cd $(bindir); rm -f $(binprefix)cpio $(binprefix)mt
--	-rm -f $(libexecdir)/rmt
--	cd $(mandir); rm -f $(manprefix)cpio.$(manext) $(manprefix)mt.$(manext)
-+	cd $(DESTDIR)$(bindir); rm -f $(binprefix)cpio $(binprefix)mt
-+	-rm -f $(DESTDIR)$(libexecdir)/rmt
-+	cd $(DESTDIR)$(mandir); rm -f $(manprefix)cpio.$(manext) $(manprefix)mt.$(manext)
- 
- check:
- 	@echo No tests are supplied.
-@@ -186,14 +187,14 @@
- 
- install-info: $(INFO_DEPS)
- 	for file in *.info*; do \
--	  $(INSTALL_DATA) $$file $(infodir)/$$file; \
-+	  $(INSTALL_DATA) -D $$file $(DESTDIR)$(infodir)/$$file; \
- 	done
- 
- uninstall:: uninstall-info
- 
- uninstall-info:
- 	for file in *.info*; do \
--	  rm -f $(infodir)/$$file; \
-+	  rm -f $(DESTDIR)$(infodir)/$$file; \
- 	done
- 
- clean:
-- 
1.6.3.3




^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-10-11 17:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-11  5:42 [PATCH] cpio: update 2.5 to 2.11 Scott Garman
2010-10-11  5:54 ` Scott Garman
2010-10-11  8:38   ` OT: git format-patch -M (was: [PATCH] cpio: update 2.5 to 2.11) Paul Menzel
2010-10-11  8:36 ` [PATCH] cpio: update 2.5 to 2.11 Paul Menzel
2010-10-11 17:45   ` Scott Garman
2010-10-11 17:50 ` [PATCH v2] " Scott Garman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.