The important thing to know about tools like debmake and debhelper is that they are just conveniences. They are no substitute for the packagers own understanding. Let them help you not control you!
In this case, take a look at what debmake actually does. It creates a directory in the debian directory called tmp. Then it creates all the directories in the dirs files there. If you had usr/bin and usr/man/man1 it would do something like install -d debian/tmp/usr/bin install -d debian/tmp/usr/man/man1 Then it calls your programs Makefile to compile the program and then the install target of that Makefile to install it into the debian/tmp/* directories and lastly runs the dpkg-* utilities that actually create the .deb. This is good enough for most cases but if you have special needs, there is nothing to stop you from doing all this yourself without the fancy helper. Edit debian/rules. Remove the reference to make in the build target. Replace the reference to make install in the binary-arch with something like this: install -o root -g root -m 0755 myfont debian/tmp/usr/share/fonts/myfont or whatever it takes to get your files in the right places with the right perms, ownership etc. (Be sure to follow the Debian policy manual and read the install(1) manpage.) There maybe other steps but I hope you got the idea. This is Debian. Everything is under your control. -- Jaldhar H. Vyas <[EMAIL PROTECTED]> On Sat, 10 Jul 1999, Shao Zhang wrote: > Hi, > Sorry if this question is too dump. > I am try to build a very simple package to start with. > > A package that contains only one font file. > I have followed the HOWTO. But my problem is that this is not a src > file. So there > is no need for a make file. > > I followed the instruction anyway: > > 1. create a dir myfonts-0.1 > 2. deb-make > 3. edit all the control, copyright, changelog, etc... > 4. build > > the error msg is: > > make install DESTDIR=`pwd`/debian/tmp > make[1]: Entering directory `/root/debian/myfonts-0.1' > make[1]: *** No rule to make target `install'. Stop. > make[1]: Leaving directory `/root/debian/myfonts-0.1' > make: *** [binary-arch] Error 2 > > > Please give some clue, and pointers of more info of building the > package. > > Thanks. > Shao. > -- > ____________________________________________________________________________ > Shao Zhang - Running Debian 2.1 ___ _ _____ > Department of Communications / __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _ > University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` | > Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, | > Email: [EMAIL PROTECTED] > |___/ > _____________________________________________________________________________ > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >

