Re: toulbar2 packaging
Thomas Schiex <thomas.schiex@inra.fr> writes:
> I pushed all branches.
Great, thanks! When retesting with a tarball available, I discovered
that the clean target doesn't work properly, for two reasons:
- There is a file named clean in the top-level directory, throwing make
off. You can unconfuse it by adding the following lines (at minimum)
to debian/rules:
.PHONY: clean
clean:
dh clean
- The build process winds up modifying src/MyCPackConf.cmake and
src/ToulbarVersion.hpp. You can compensate by copying the files
elsewhere before configuring the tree, and moving them back when
cleaning them up:
override-dh_auto_configure:
mkdir debian/orig
cp -f src/MyCPackConf.cmake src/ToulbarVersion.hpp debian/orig/
dh_auto_configure
override-dh_auto_clean:
mv -f debian/orig/* src/
rmdir debian/orig
dh_auto_clean
NB: I've tested only the first suggestion, not the second, which may
have typos. Something along those lines should work, though.
Retesting otherwise went well.
> I must say I would love to mark this as 'done'. So, if Andreas is not
> available, it would be great if you could do it :-)
Understood; I'll do it Sunday if Andreas hasn't stepped in by then.
> In all cases, independently of what you decide, many thanks for all the
> pieces of advice and the guidance.
No problem; thanks for your contributions!
--
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu
Reply to: