Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// Resources
// -
// -
// -
sudo apt-get install dh-make build-essential
sudo apt-get install devscripts fakeroot debootstrap pbuilder autotools-dev
# Create the packaging skeleton (debian/*)
# dh_make -s --indep --createorig
dh_make \
--native \
--single \
--packagename glslviewer-1.1 \
# Remove make calls
grep -v makefile debian/rules > debian/
mv debian/ debian/rules
# debian/install must contain the list of scripts to install
# as well as the target directory
echo $SOURCEBIN usr/bin > debian/install
# Remove the example files
rm debian/*.ex
debuild -us -uc
cd ..
sudo dpkg -i glslviewer-1.1.deb
## then in new version do
dch -v 1.2
debuild -us -uc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.