diff options
Diffstat (limited to 'cpio/files/install.patch')
-rw-r--r-- | cpio/files/install.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/cpio/files/install.patch b/cpio/files/install.patch index e69de29bb2..eb36818b93 100644 --- a/cpio/files/install.patch +++ b/cpio/files/install.patch @@ -0,0 +1,32 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- cpio-2.5/Makefile.in~install ++++ 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,11 +124,11 @@ + $(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) cpio $(DESTDIR)$(bindir)/$(binprefix)cpio ++ test ! -f mt || $(INSTALL_PROGRAM) mt $(DESTDIR)$(bindir)/$(binprefix)mt ++ -test ! -f rmt || $(INSTALL_PROGRAM) rmt $(DESTDIR)$(libexecdir)/rmt ++ -$(INSTALL_DATA) $(srcdir)/cpio.1 $(DESTDIR)$(mandir)/$(manprefix)cpio.$(manext) ++ -test ! -f mt || $(INSTALL_DATA) $(srcdir)/mt.1 $(DESTDIR)$(mandir)/$(manprefix)mt.$(manext) + + installdirs: + $(srcdir)/mkinstalldirs $(bindir) $(libexecdir) $(mandir) $(infodir) |