[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: i have a problem with making a .deb file



Christian SPENER <chris@spener.net> writes:
CS> i made a deb file from tar.gz file, did everything like in the new
CS> maintainer guide.

(Note that questions about building packages might be better asked on
the debian-mentors list, which is more aimed towards helping beginning 
or prospective package maintainers.)

CS> it is easy cause the programm is a kdevelop
CS> programm, so it uses automake conf etc.  everything workes, only
CS> the binary goes to /bin not to /usr/bin when i look into into the
CS> deb file, under CONTENTS there are this dirs bin usr share ther
CS> should be only usr or?  where can i change this? what do i have to
CS> edit, that everything goes into usr ??

You should look at what gets called from the debian/rules file.  If it 
directly copies files into the debian/tmp/... tree, it should copy
into debian/tmp/usr/bin; if it invokes the top-level Makefile of the
program, check that it does it with correct arguments.  It's entirely
possible that you're calling 'make install prefix=`pwd`/debian/tmp',
when you really want debian/tmp/usr.

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: