Re: Outdated GNU config (config.{sub,guess}) and autotools-dev
Hi Henrique!
You wrote:
> The dh_autotools functionality is very easy to emulate. Just add:
> -test -r /usr/share/misc/config.sub && \
> cp -f /usr/share/misc/config.sub config.sub
> -test -r /usr/share/misc/config.guess && \
> cp -f /usr/share/misc/config.guess config.guess
> to the clean target of debian/rules.
Don't you think the `clean' target should put back the old files?
build-stamp:
...
# install new config.{sub,guess}
mv config.sub config.sub.old
mv config.guess config.guess.old
cp /usr/share/misc/config.{sub,guess} ./
...
clean:
...
# put back old config.{sub,guess}
-[ -e config.sub.old ] && mv -f config.sub.old config.sub
-[ -e config.guess.old ] && mv -f config.guess.old config.guess
...
--
Kind regards,
+---------------------------------------------------------------+
| Bas Zoetekouw | Si l'on sait exactement ce |
|--------------------------------| que l'on va faire, a quoi |
| zoetekw@phys.uu.nl | bon le faire? |
| bas@A-Es2.uu.nl | Pablo Picasso |
+---------------------------------------------------------------+
Reply to: