I'm building a package for a cellphone manager. It's a simple tcl script, there are no binaries.
dpkg-buildpackage places the tcl script in debian/tmp/usr/bin as expected, [EMAIL PROTECTED]:~/debian/s25manager-0.82]$ ls -l debian/tmp/usr/bin/ total 48 -rwxr-xr-x 1 eric eric 46964 avr 12 15:41 s25manager but then this file isn't included in the .deb file. [EMAIL PROTECTED]:~/debian/s25manager-0.82]$ dpkg -c ../s25manager_0.82-1_all.deb drwxr-xr-x root/root 0 2001-04-12 15:41:33 ./ drwxr-xr-x root/root 0 2001-04-12 15:41:29 ./usr/ drwxr-xr-x root/root 0 2001-04-12 15:41:28 ./usr/bin/ drwxr-xr-x root/root 0 2001-04-12 15:41:30 ./usr/share/ drwxr-xr-x root/root 0 2001-04-12 15:41:29 ./usr/share/doc/ drwxr-xr-x root/root 0 2001-04-12 15:41:32 ./usr/share/doc/s25manager/ -rw-r--r-- root/root 289 2001-02-03 19:26:38 ./usr/share/doc/s25manager/README -rw-r--r-- root/root 191 2001-04-08 21:00:18 ./usr/share/doc/s25manager/README.Debian -rw-r--r-- root/root 513 2001-04-08 21:19:14 ./usr/share/doc/s25manager/copyright -rw-r--r-- root/root 212 2001-04-08 21:49:47 ./usr/share/doc/s25manager/changelog.Debian.gz drwxr-xr-x root/root 0 2001-04-12 15:41:30 ./usr/share/man/ drwxr-xr-x root/root 0 2001-04-12 15:41:32 ./usr/share/man/man1/ -rw-r--r-- root/root 961 2001-04-08 22:41:06 ./usr/share/man/man1/s25manager.1.gz drwxr-xr-x root/root 0 2001-04-12 15:41:29 ./usr/lib/ drwxr-xr-x root/root 0 2001-04-12 15:41:29 ./usr/lib/menu/ -rw-r--r-- root/root 102 2001-04-08 22:17:59 ./usr/lib/menu/s25manager Anyone knows why ? I'm totally clueless. Attached is debian/rules -- Eric VAN BUGGENHAUT [EMAIL PROTECTED]
#!/usr/bin/make -f # GNU copyright 1997 to 1999 by Joey Hess. # GNU copyright 2000 by Eric Van Buggenhaut. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This is the debhelper compatability version to use. export DH_COMPAT=2 configure: configure-stamp configure-stamp: dh_testdir # Add here commands to configure the package. touch configure-stamp build: configure-stamp build-stamp build-stamp: dh_testdir # Add here commands to compile the package. #/usr/bin/docbook-to-man debian/s25manager.sgml > s25manager.1 touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/s25manager. install -d debian/tmp/usr/bin install -m755 -o root -g root s25manager debian/tmp/usr/bin/s25manager # Build architecture-independent files here. binary-indep: build install dh_testversion 2 dh_testdir dh_testroot # dh_installdebconf dh_installdocs # dh_installexamples dh_installmenu # dh_installemacsen # dh_installpam # dh_installinit # dh_installcron dh_installmanpages dh_undocumented dh_installchangelogs # dh_link # dh_strip dh_compress dh_fixperms # You may want to make some executables suid here. # dh_suidregister # dh_makeshlibs dh_installdeb # dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb # Build architecture-dependent files here. binary-arch: build install # We have nothing to do here. binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure