View Ticket
Not logged in
Ticket UUID: 1511c1ef255e00d43dee8534867bd7b5d0a89bca
Title: The makedeb.sh script should be more robust
Status: Open Type: Build_Problem
Severity: Important Priority:
Subsystem: Resolution: Open
Last Modified: 2011-09-08 20:14:05
Version Found In: 20100318142033
Description & Comments:
1) The script asks to run in built source directory but since it can tell the source is not built it can just run make (assuming it is run as debian/makedeb.sh so there is good chance there actually is the fossil source in the current directory).

2) when run in a built source directory it does not really work, it has to be run in the debian subdirectory of the built source directory.

3) the version of the package is determinad by the build date, not the source date.

$ sh makedeb.sh Creating .deb package /home/hramrach/Downloads/fossil-src-20100318142033/debian/fossil-scm-2010.05.17-1-dev-i386-ubuntu-gutsy.deb... Generating md5 sums... Generating Debian-specific files... Generating DEBIAN/control... dpkg-deb: building package `fossil-scm' in `/home/hramrach/Downloads/fossil-src-20100318142033/debian/fossil-scm-2010.05.17-1-dev-i386-ubuntu-gutsy.deb'.