[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Install /usr/bin/something from upstream source to /usr/bin/something on hdd?



On Sun, Apr 27, 2014 at 12:43:07AM +0000, Patrick Schleizer wrote:
> >>>> Sure, the effort required for that is minimal. (I managed to create a
> >>>> non-Debian specific Makefile for "make install" that uses rsync.
> >>>> Debhelper can pick it up from there just fine.)
> >>> I don't think using rsync to copy files in the upstream Makefile is a good
> >>> idea.
> >>
> >> Why is that?
> > 
> > More external dependency, I guess.
> 
> I see.
> 
> Personally I don't mind if such as small and great tool as rsync needs
> to be installed at package build time. Would it be a no-go for inclusion
> into Debian or is this within the liberty of being upstream?
I would be very surprised if some software required rsync to install a
bunch of files locally.

> For the following make snippet, I need a replacement not using rsync.
> 
> install:
> 	rsync \
> 		-C \
> 		--verbose \
> 		--recursive \
> 		--links \
> 		--perms \
> 		--times \
> 		--exclude Makefile \
> 		--exclude man-helper.bsh \
> 		--exclude man \
> 		--exclude debian \
> 		--exclude t \
> 		--exclude .gitignore \
> 		--exclude .gitattributes \
> 		--exclude COPYING \
> 		--exclude GPLv3 \
> 		--exclude build \
> 		--exclude clean \
> 		--exclude CONTRIBUTING.md \
> 		$(CURDIR)/ \
> 		$(DESTDIR)/
> 
> Ideally without inventing a big new shell script. Any idea?
A set of mkdir, cp and/or install commands.

-- 
WBR, wRAR

Attachment: signature.asc
Description: Digital signature


Reply to: