Hello, Trying to build a package, aterm, following the maint-guide docs, I come to a problem, and although I have tried many possible solutions, the new .debs I produce seem to be worse than the previous.
Following maint-guide instructions:
I untar the sources onto /usr/local/src/aterm/aterm-0.3.6.
The guide says I have to do configure and make to test if this works
correctly. Is it necessary to run configure before running dh_make?
If I don't, obviously I don't have a Makefile, as it is created by
configure. What makefile should I edit, then, if configure isn't run?
In the other hand, if I have to run configure and then edit the makefile,
won't that makefile be erased when dpkg-buildpackage is run? So, where do I
have to set the destdirs?
The problem with all of this is that the manpage is going into /usr/man and
the binary into /usr/bin, and I want it to go to /usr/X11R6.
sh_make creates a rules file with the following line:
./configure --prefix=/usr --mandir=\$${prefix}/share/man
Of course, I change that prefix to the one I want, but it seems to be
ignored.
The dirs file is also pointing to /usr/X11R6.
I can't see where the error is, I hope someone can help me.
Thanks in advance,
Jordi
pgpnzytUeurlF.pgp
Description: PGP signature

