On Wed, Apr 30, 2014 at 09:08:33AM +0000, Patrick Schleizer wrote:
> >> I don't understand the need to call a shell script from the Makefile. 
> >> According to the FHS,
> >> the main directories where you may want to install shell scripts, shell 
> >> libraries, config files
> >> and their documentation are: /etc, /bin, /sbin, /usr, /lib, and why not, 
> >> /var. So you can use
> >> a very generic "install" target - and probably more portable/elegant than 
> >> the find command
> >> above - with something like
> >>
> >> DESTDIR ?= /
> >> install:
> >>         for d in bin etc lib sbin usr var; do if [ -d $${d} ]; then cp -R 
> >> $${d} ${DESTDIR}; fi; done
> >>
> >> That's all; this doesn't need a lot of rsync's or find's exceptions.
> > This (and at least some other recipes in this thread) fails the common
> > asusmption that make install without DESTDIR installs to /usr/local, not
> > to /usr and /.
> 
> Is this a problem for inclusion into debian?
No.

-- 
WBR, wRAR


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140430091106.ga3...@belkar.wrar.name

Reply via email to