[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automake patch to not assume egrep or fgrep
From: |
Alexandre Duret-Lutz |
Subject: |
Re: Automake patch to not assume egrep or fgrep |
Date: |
Thu, 30 May 2002 11:05:07 +0200 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu) |
>>> "Paul" == Paul Eggert <address@hidden> writes:
Paul> I thought that this "distdir" action is only used by package
Paul> maintainers as well, as it uses other syntax like "cp -pR" and "chmod
Paul> a+r" that is not portable to arbitrarily ancient hosts. Hmm, but I
Paul> suppose those actions do work on Solaris 8, whereas "grep -E" doesn't,
Paul> so maybe this is worth fixing.
`distdir' is a dependency of `dist' which is a user target (per
GNU Standards), so the more portable it is the better.
>> What about escaping $(VERSION) using sed before passing it to grep?
Paul> Why not use shell pattern matching? It's simpler. Something like
Paul> this, perhaps?
Yes, this seems good.
--
Alexandre Duret-Lutz