Cyril Brulebois <[email protected]> (05/01/2009): > Jelmer, you don't really want to do *that* in debian/rules? > | ln -s libtdb.so.1.1.3 $(DESTDIR)/usr/lib/libtdb.so.1 > | ln -s libtdb.so.1 $(DESTDIR)/usr/lib/libtdb.so > > What about fixing the build system instead?
Note that upstream already has “shared-build” which tries to deal with symlinks, so that might be adapted. I'd advise for producing a proper Makefile.am, that would then produce a proper Makefile.in, dealing with the shared objects in an appropriate fashion. If you wish to have a look at simple examples, I'd advise adl's autotools guide[1]. Page 30 (slides 116 to 119) of the handout version[2] has all you need (of course, directories and names have to be adapted, but you should get the idea). 1. http://www.lrde.epita.fr/~adl/autotools.html 2. http://www.lrde.epita.fr/~adl/dl/autotools-handout-4.pdf Hope this helps. Mraw, KiBi.
signature.asc
Description: Digital signature

