[Q:] Which tool creates the DEBIAN subdirectory
Hello,
I tried to package cpuinfo but it seems that the files in debian/tmp did not
make it into the .deb file:
silverboxy:/home/rd/SW.nobackup/cpuinfo# dpkg -L cpuinfo
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/cpuinfo
/usr/share/doc/cpuinfo/README
/usr/share/doc/cpuinfo/TODO
/usr/share/doc/cpuinfo/README.Debian
/usr/share/doc/cpuinfo/copyright
/usr/share/doc/cpuinfo/changelog.gz
/usr/share/doc/cpuinfo/NEWS.gz
/usr/share/doc/cpuinfo/changelog.Debian.gz
silverboxy:/home/rd/SW.nobackup/cpuinfo#
My debian/rules file looks like this:
[...]
binary-arch: build
dh_testdir
dh_testroot
dh_clean -k
install -d debian/tmp/etc/kde3
make install DESTDIR=`pwd`/debian/tmp
perl -w debian/debianrules cleanup
dh_install --list-missing
dh_installdocs
dh_installmenu
dh_installmime
dh_installchangelogs ChangeLog
dh_strip
dh_perl
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
My debian/tmp does not contain a DEBIAN directory. Is that the problem? If
yes, which tool is supposed to create it?
rd@silverboxy:~/SW.nobackup/cpuinfo/cpuinfo-0.4/debian$ ls -lR tmp/
tmp/:
insgesamt 8
drwxr-xr-x 3 rd rd 4096 2006-03-12 22:36 etc
drwxr-xr-x 4 rd rd 4096 2006-03-12 22:36 usr
tmp/etc:
insgesamt 4
drwxr-xr-x 2 rd rd 4096 2006-03-12 22:36 kde3
tmp/etc/kde3:
insgesamt 0
tmp/usr:
insgesamt 8
drwxr-xr-x 3 rd rd 4096 2006-03-12 22:36 lib
drwxr-xr-x 4 rd rd 4096 2006-03-12 22:36 share
tmp/usr/lib:
insgesamt 4
drwxr-xr-x 2 rd rd 4096 2006-03-12 22:36 kde3
tmp/usr/lib/kde3:
insgesamt 172
-rwxr-xr-x 1 rd rd 1107 2006-03-12 22:36 libcpuinfo.la
-rwxr-xr-x 1 rd rd 166982 2006-03-12 22:36 libcpuinfo.so
tmp/usr/share:
insgesamt 8
drwxr-xr-x 3 rd rd 4096 2006-03-12 22:36 apps
drwxr-xr-x 3 rd rd 4096 2006-03-12 22:36 doc
tmp/usr/share/apps:
insgesamt 4
drwxr-xr-x 3 rd rd 4096 2006-03-12 22:36 kicker
tmp/usr/share/apps/kicker:
insgesamt 4
drwxr-xr-x 2 rd rd 4096 2006-03-12 22:36 applets
tmp/usr/share/apps/kicker/applets:
insgesamt 4
-rw-r--r-- 1 rd rd 1673 2006-01-09 21:38 cpuinfo.desktop
tmp/usr/share/doc:
insgesamt 4
drwxr-xr-x 3 rd rd 4096 2006-03-12 22:36 kde
tmp/usr/share/doc/kde:
insgesamt 4
drwxr-xr-x 3 rd rd 4096 2006-03-12 22:36 HTML
tmp/usr/share/doc/kde/HTML:
insgesamt 4
drwxr-xr-x 3 rd rd 4096 2006-03-12 22:36 en
tmp/usr/share/doc/kde/HTML/en:
insgesamt 4
drwxr-xr-x 2 rd rd 4096 2006-03-12 22:36 cpuinfo
tmp/usr/share/doc/kde/HTML/en/cpuinfo:
insgesamt 28
lrwxrwxrwx 1 rd rd 33 2006-03-12 22:36 common
-> /usr/share/doc/kde/HTML/en/common
-rw-r--r-- 1 rd rd 5860 2006-03-12 22:35 index.cache.bz2
-rw-r--r-- 1 rd rd 16564 2005-02-20 20:36 index.docbook
rd@silverboxy:~/SW.nobackup/cpuinfo/cpuinfo-0.4/debian$
Thanks,
Rainer
--
Rainer Dorsch
Alzentalstr. 28
D-71083 Herrenberg
07032-919495
Icq: 32550367
Reply to: