Anonymous CVS, Snapshot mirrors available
Tim Rice
tim at multitalents.net
Sun Dec 31 13:12:17 EST 2000
On Wed, 27 Dec 2000, Damien Miller wrote:
> On Tue, 26 Dec 2000, Tim Rice wrote:
>
> > On Thu, 14 Dec 2000, Damien Miller wrote:
> >
> > > On Wed, 13 Dec 2000, Gert Doering wrote:
> > > > ... ah! Found it: config.h.in depends on running running "autoheader".
> > > >
> > > > Hmm.
> > > >
> > > > Is there a way to automate running "autoconf" and "autoheader"? Any
> > > > makefile tricks that I do not know yet?
> > >
> > > make -f Makefile.in distprep
> >
> > tim(trr)@uw213 44% gmake -f Makefile.in distprep
> > UX:sh (/bin/sh): ERROR: Bad substitution
> > gmake: *** [catman-do] Error 1
> >
> > Do I detect some bash dependencies?
>
> Yep :) The 'catman-do' target uses some bashisms.
That helps.
Now if nroff -mandoc was portable.
>
> I will commit this in a moment:
>
> Index: Makefile.in
> ===================================================================
> RCS file: /var/cvs/openssh/Makefile.in,v
> retrieving revision 1.126
> diff -u -r1.126 Makefile.in
> --- Makefile.in 2000/12/22 20:27:44 1.126
> +++ Makefile.in 2000/12/27 05:43:35
> @@ -127,9 +127,10 @@
>
> catman-do:
> @for f in $(TROFFMAN) ; do \
> - echo "$$f -> $${f%%.[18]}.0" ; \
> + base=`echo $$f | sed 's/\..*$$//'` ; \
> + echo "$$f -> $$base.0" ; \
> nroff -mandoc $$f | cat -v | sed -e 's/.\^H//g' \
> - >$${f%%.[18]}.0 ; \
> + >$$base.0 ; \
> done
>
> distprep: catman-do
>
>
>
--
Tim Rice Multitalents (707) 887-1469
tim at multitalents.net
More information about the openssh-unix-dev
mailing list