* Updated policy (now at version 0.7.1); changes:
- added a best-practice section about using the XS-X-Vcs-Svn field in
debian/control of OCaml related packages
+ - fixed typo in the suggested debian/rules line to fill the OFILES
+ variable
-- Stefano Zacchiroli <zack@debian.org> Tue, 5 Sep 2006 12:06:25 +0200
The string <varname>@OCamlABI@</varname> is substituted at build-time by the version of OCaml. Here are the relevant parts of the <filename>debian/rules</filename> file:
<programlisting>
OCAMLABI := $(shell ocamlc -version)
- OFILES := $(filter-out debian/control,(patsubst %.in,%,$(wildcard debian/*.in)))
+ OFILES := $(filter-out debian/control,$(patsubst %.in,%,$(wildcard debian/*.in)))
ocamlinit:
for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done