This file documents the steps needed to package a new release of openMSX.

- Ensure that the directory is the newest version of the package.
- Run uscan to download the new release. Fix the watch file if it's broken.
- Go to the new directory with cd ../openmsx-[...]
- If changes were made to the watch file, copy the new one over to the new directory and document them in the changelog.
- Check if all the patches still apply, update them and the changelog if they don't.
- Update standards version and document it in changelog.
- Check the Debian bug tracking system if there are bugs that need to be fixed. Also mark fixed bugs in the changelog as closed.
- Update the pbuilder chroot using sudo pbuilder update
- Update the schroot using:
	- cd /var/lib/schroot/chroots/sid-amd64
	- sudo chroot . bash
	- for d in dev dev/pts proc ; do mount --bind /$d $d ; done
	- apt-get update
	- apt-get upgrade
	- exit
- Optional: build and test the package (debuild -uc -us)
- Release the package using dch -r.
- Build and test using autopkgtest -- schroot sid-amd64
- build the package using pbuilder (pdebuild)
- sign and upload

For setting up sbuild:
- sudo sbuild-createchroot sid /var/lib/schroot/chroots/sid-amd64
- sudo cp /etc/resolv.conf /var/lib/schroot/chroots/sid-amd64
