Anonymous CVS, Snapshot mirrors available

Damien Miller djm at mindrot.org
Wed Dec 27 16:44:54 EST 2000


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. 

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


-- 
| ``We've all heard that a million monkeys banging on | Damien Miller -
| a million typewriters will eventually reproduce the | <djm at mindrot.org>
| works of Shakespeare. Now, thanks to the Internet, / 
| we know this is not true.'' - Robert Wilensky UCB / http://www.mindrot.org







More information about the openssh-unix-dev mailing list