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

dh_make and parsing directory name



Hello,

i want to build a library deb package and so i renamed the directory 
containing the source to

   libwxgtk2.4-2.4.1-thermoman

The package name should be "libwxgtk2.4" and version "2.4.1-thermoman". 
So i called dh_make -l in that directory and after modifying all 
necessary files under debian directory i did a

   dpkg-buildpackage -rfakeroot

and got 2 deb packages:

   libwxgtk2.4-dev_2.4.1-thermoman-1_i386.deb
   libwxgtk2.41_2.4.1-thermoman-1_i386.deb
              ^

Can someone figure out why there is the digit 1 in the package-name of 
the non-devel package?

Its a problem converning dh_make cause dh_make creates e.g. the files

  libwxgtk2.4-dev.dirs
  libwxgtk2.4-dev.files

but

  libwxgtk2.41.dirs
             ^
  libwxgtk2.41.files
             ^

Parses dh_make my directoryname wrong or did i set it up wrong?

Quote from
<http://www.debian.org/doc/manuals/maint-guide/ch-first.en.html#s-namever>

"For the package to be built correctly, you must make the program's 
original name lowercase (if it isn't already), and you should move the 
source directory to <packagename>-<version>."

What if there are more that 1 dashes?

I also tried "libwxgtk2.4-2.4.1.thermoman" instead of 
"libwxgtk2.4-2.4.1-thermoman" but this doesn't matter.

Has anyone a hint?

Marcel.



Reply to: