[Pkg-jed-commit] r300 - in trunk/packages/jed-extra/debian: . examples init

G. Milde g.milde at web.de
Fri May 26 12:25:49 UTC 2006


On 24.05.06, Jörg Sommer wrote:
> Guenter Milde schrieb am Tue 23. May, 15:35 (+0000):

> > Log:
> > rules: variable VER for current version 
> >        (Rafael, can you fix the extraction from the changelog?)
> 
> What's your problem?

This is from a commit in jed, not jed-extra.

The construct

VER = $(shell perl -ne '/([\d.]+)-/; print $$1; exit' < \
		      $(dir $(firstword $(MAKEFILE_LIST)))/changelog)

works in jed-extra/debian/rules, but for some reason not in
jed/debian/rules.

 
> > +get-orig-source: jed-extra_$(VER).orig.tar.gz
> > +	# The dependency on the archive file makes get-orig-source idempotent
> > +
> > +jed-extra_$(VER).orig.tar.gz:
> > +	# latest non-released source tarball
> > +	wget  http://jedmodes.sf.net/cvs/jedmodes-$(VER).tgz; \
> 
> Why a \ at the end?

it is a leftover from an if clause. Removed.

> > -	mkdir --parents jedmodes-$(VER)/boxquote
> > -	cd jedmodes-$(VER)/boxquote; \
> > -	    wget http://www.cis.fu-berlin.de/~phgrau/slang/boxquote.sl
> > -	gunzip jed-extra_$(VER).orig.tar.gz
> > -	tar --append --file jed-extra_$(VER).orig.tar jedmodes-$(VER)
> > -	gzip -9 jed-extra_$(VER).orig.tar
> 
> Do you not like boxquote?

Removing this was a side-effect of using my version of rules. It is in now,
but still buggy (creates the jedmodes-2.2 dir two times).

 
> > +	mv $$(find . -name \*.html -o -name \*.otl -name \*.example) \
> > +	$(debroot)/usr/share/doc/jed-extra/mode-doc/
> 
> Why the README should be into the library dir?

It should not. However, the version with 'mv' moves the documentation out of
the way. No need for "-X.html -X.otl -X.example -XREADME" with dh_install.

Günter

-- 
Milde ife.et.tu-dresden.de



More information about the Pkg-jed-devel mailing list