[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?



Osamu Aoki:
> On Sat, Apr 26, 2014 at 12:42:45PM +0000, Patrick Schleizer wrote:
>> Andrey Rahmatullin:
>>> On Sat, Apr 26, 2014 at 12:24:18PM +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?

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?


Reply to: