On Tue, Jun 12, 2007 at 11:09:44AM -0400, Eric Cooper wrote:
> I notice that it automatically munges debian/*.in files for me,
> but it doesn't try to clean them up. Should it? Something like this:
It should, if not it's a bug.
Here is the snippet from ocaml.mk:
pre-build:: ocamlinit
ocamlinit: ocamlinit-stamp
ocamlinit-stamp:
for f in $(OCAML_IN_FILES) ; do \
sed \
-e 's,@OCamlABI@,$(OCAML_ABI),g' \
-e 's,@OCamlStdlibDir@,$(OCAML_STDLIB_DIR),g' \
-e 's,@OCamlDllDir@,$(OCAML_DLL_DIR),g' \
$$f.in > $$f ; \
done
touch $@
clean::
rm -f ocamlinit-stamp $(OCAML_IN_FILES)
So, in theory, debian/rules clean should clean .in files.
--
Stefano Zacchiroli -*- PhD in Computer Science ............... now what?
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
(15:56:48) Zack: e la demo dema ? /\ All one has to do is hit the
(15:57:15) Bac: no, la demo scema \/ right keys at the right time
Attachment:
signature.asc
Description: Digital signature