I'm trying to make a .deb file.

This is what I have:
Code:
ls -R | grep ./
./debian:
./debian/DEBIAN:
./debian/DEBIAN/usr:
./debian/DEBIAN/usr/bin:
./debian/DEBIAN/usr/share:
./debian/DEBIAN/usr/share/applications:
./debian/DEBIAN/usr/share/conkygui:
./debian/DEBIAN/usr/share/conkygui/bin:
./debian/DEBIAN/usr/share/conkygui/lib:
./debian/DEBIAN/usr/share/doc:
./debian/DEBIAN/usr/share/doc/conkygui:
./debian/DEBIAN/usr/share/pixmaps:
To build the .deb I type:
Code:
dpkg --build debian/ conkygui_v12_all.deb
dpkg-deb: building package `conkygui' in `conkygui_v12_all.deb'.
Then I try to install it:
Code:
dpkg: error processing conkygui_v12_all.deb (--install):
 package control info rmdir of `usr' didn't say not a dir: Directory not empty
Errors were encountered while processing:
 conkygui_v12_all.deb
From what I have read, this error could be related to the directories structure that I'm using (not sure). But I don't find the error...