Skip to content

Instantly share code, notes, and snippets.

@torarnv
Created March 25, 2012 13:55
Show Gist options
  • Save torarnv/2194639 to your computer and use it in GitHub Desktop.
Save torarnv/2194639 to your computer and use it in GitHub Desktop.
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions
dpkg-buildpackage: source package mypackage
dpkg-buildpackage: source version 0.0.1
dpkg-buildpackage: source changed by unknown <torarne@unknown>
dpkg-buildpackage: host architecture i386
dpkg-source --before-build mypackage
debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
dh_clean
dpkg-source -b mypackage
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: info: using source format `1.0'
dpkg-source: warning: source directory 'mypackage' is not <sourcepackage>-<upstreamversion> 'mypackage-0.0.1'
dpkg-source: info: building mypackage in mypackage_0.0.1.tar.gz
dpkg-source: info: building mypackage in mypackage_0.0.1.dsc
debian/rules build
dh_testdir
# qmake PREFIX=/usr# Uncomment this line for use without Qt Creator
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
# /usr/bin/make # Uncomment this line for use without Qt Creator
#docbook-to-man debian/wordfeud.sgml > wordfeud.1
touch build-stamp
debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
dh_installdirs
# Add here commands to install the package into debian/wordfeud.
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installexamples
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
# dh_shlibdeps # Uncomment this line for use without Qt Creator
dh_gencontrol
dpkg-gencontrol: warning: Depends field of package mypackage: unknown substitution variable ${shlibs:Depends}
dh_md5sums
dh_builddeb
dpkg-deb: warning: 'debian/mypackage/DEBIAN/control' contains user-defined field 'Maemo-Display-Name'
dpkg-deb: warning: ignoring 1 warning about the control file(s)
dpkg-deb: building package `mypackage' in `../mypackage_0.0.1_all.deb'.
dpkg-genchanges >../mypackage_0.0.1_i386.changes
dpkg-genchanges: including full source code in upload
dpkg-source --after-build mypackage
dpkg-buildpackage: full upload; Debian-native package (full source is included)
dpkg-buildpackage 2.29s user 0.32s system 90% cpu 2.876 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment