Re: debian packages : DESTDIR
Julien wrote:
> Hi
> im making my first package using deb-make (im using a doc witch explain
> how to do with the game empire),
I am the author of that document and I have discovered to my chagrin that
the version of the document on the web site is out of date. There is a
later and more accurate copy at http://www.debian.org/~jaldhar/index.html
I'll contact the Debian webmaster and ask him to change it.
Actually even this version isn't fully up to date. i've been working on a
newer version for a long time but unfortunately I just got married and so
I haven't had a lot of free time.
Still the URL I mentioned should be more helpful. The other things you
need to know is that debmake is kind of out of fashion now and has been
replaced by a different package called debhelper. Once you have your
package created with debmake it's pretty easy to convert it over though.
Just read the debhelper docs. There is a package called lintian which you
should install. It will catch many violations of Debian policy you might
accidently make. Lastly there is a list just for new developers called
debian-mentors you can subscribe to if you need help or advice.
> but i have a problem with DESTDIR. This
> is the error message:
>
> make install DESTDIR=`pwd`/debian/tmp
> make[1]: Entering directory `/home/julien/empire-1.1'
> /usr/bin/install -o root -g root -m 0755 -s empire
> debian/tmp/usr/local/games/empire
> /usr/bin/install: debian/tmp/usr/local/games/empire: No such file or
> directory
>
> DESTDIR should be debian/tmp and not `pwd`/debian/tmp no ?
No. As Ben mentioned, the actual problem is the directories haven't been
created.
> How can change it ?
Create a file called dirs in the debian directory and put the names of the
directories you want to create, one on each line without the leading /.
i.e.:
usr/local/games
usr/local/man/man6
etc.
Hope this helps.
--
Jaldhar H. Vyas <jaldhar@braincells.com>
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: