[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CVS breaks Makefile (pattern contains no "%" ??)



Am 13. Jul, 2001 schwäzte will trillich so:

> how can i do that with
> 	# perl
> 	$VERSION = '$some-magic-CVS-incantation$';

OK, you've got single-quotes here again. You'll need those or $Revision
becomes a variable to perl.

I do:

$version = '# $Revision: 1.2 $';

Don't know if the # also helps.
After that, I use a REGEX to strip the value of $version down to just the
number.

Your REGEX is simpler than mine, so I won't post mine ;-).

BTW, you said Makefile.pl is the same with before and after going in
cvs, right?

How about your perl module, itself?

It would seem one of them must have changed.

ciao,

der.hans
-- 
# der.hans@LuftHans.com home.pages.de/~lufthans/ www.DevelopOnline.com
#  I'm not anti-social, I'm pro-individual. - der.hans



Reply to: