View Single Post
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#1
I've been trying to get an application of mine (Quick Clip, simple Python application) packaged up using my Linux desktop, and I need a bit of help.

WARNING: I'm a complete packaging newbie.

From the information I gathered from the Maemo Diablo Reference Manual, I created a folder named quickclip-0.12.0. In it is this:

Code:
debian/
  changelog                                                                                              
  compat                                                                                                 
  control                                                                                                
  control~                                                                                               
  copyright
  cron.d.ex
  dirs
  docs
  emacsen-install.ex
  emacsen-remove.ex
  emacsen-startup.ex
  init.d.ex
  init.d.lsb.ex
  manpage.1.ex
  manpage.sgml.ex
  manpage.xml.ex
  menu.ex
  postinst.ex
  postrm.ex
  preinst.ex
  prerm.ex
  quickclip.default.ex
  quickclip.doc-base.EX
  rules
  watch.ex
etc/
home/
usr/
All the stuff in debian/ was created with dh_make (just from the normal Ubuntu shell prompt, not scratchbox...). The other folders are the proper directory tree of what I want installed. Don't know if this is the correct way to do this...

When I run dpkg-buildpackage -rfakeroot from the scratchbox x86 prompt inside my quickclip-0.12.0 directory, I get this:

Code:
dpkg-buildpackage: source package is quickclip                                  
dpkg-buildpackage: source version is 0.12.0-1                                   
dpkg-buildpackage: source changed by brent User <bchiodo@gmail.com>             
dpkg-buildpackage: host architecture i386                                       
dpkg-buildpackage: source version without epoch 0.12.0-1                        
: Using Scratchbox tools to satisfy builddeps                                   
 fakeroot debian/rules clean                                                    
dh_testdir                                                                      
dh_testroot                                                                     
rm -f build-stamp configure-stamp                                               
# Add here commands to clean up after the build process.                        
/scratchbox/tools/bin/make clean                                                
make[1]: Entering directory `/home/brent/quickclip-0.12.0'                      
make[1]: *** No rule to make target `clean'.  Stop.                             
make[1]: Leaving directory `/home/brent/quickclip-0.12.0'                       
make: *** [clean] Error 2
I didn't do anything to debian/rules; I wouldn't know what needed to be changed...

Any help would be greatly appreciated, even if is just a link to some documentation. Thanks.
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900