#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# This file is public domain software, originally written by Joey Hess.
#
# This version is for packages that are architecture independent.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
build: build-stamp configure
build-stamp:
#dh_testdir
# Add here commands to compile the package.
#$(MAKE)
touch build-stamp
configure:
#dh_testdir
#cmake .
clean: configure
#dh_testdir
#dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
#$(MAKE) clean
#dh_clean
install: build
#dh_testdir
#dh_testroot
#dh_prep
#dh_installdirs
# Add here commands to install the package into debian/<packagename>.
#$(MAKE) prefix=`pwd`/debian/`dh_listpackages`/usr install
# Build architecture-independent files here.
binary-indep: build install
#dh_testdir
#dh_testroot
#dh_installchangelogs
#dh_installdocs
# dh_installexamples
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installcatalogs
# dh_installpam
# dh_installmime
# dh_installinit
# dh_installcron
# dh_installinfo
# dh_installwm
# dh_installudev
# dh_lintian
# dh_bugfiles
# dh_undocumented
#dh_installman
#dh_link
#dh_compress
#dh_fixperms
# dh_perl
#dh_installdeb
#dh_gencontrol
#dh_md5sums
#dh_builddeb
# Build architecture-dependent files here.
binary-arch: build install
# We have nothing to do by default.
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
ckr@ckr-laptop:~/Desktop/Debing/opendungeons-0.4.8$ debuild
dpkg-buildpackage -rfakeroot -D -us -uc
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 opendungeons
dpkg-buildpackage: source version 0.4.8-1
dpkg-buildpackage: source changed by Casper Kejlberg-Rasmussen <svenskmand@gmail.com>
dpkg-source --before-build opendungeons-0.4.8
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
#dh_testdir
#cmake .
#dh_testdir
#dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
#/usr/bin/make clean
#dh_clean
dpkg-source -b opendungeons-0.4.8
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building opendungeons using existing ./opendungeons_0.4.8.orig.tar.gz
dpkg-source: info: building opendungeons in opendungeons_0.4.8-1.debian.tar.gz
dpkg-source: info: building opendungeons in opendungeons_0.4.8-1.dsc
debian/rules build
#dh_testdir
# Add here commands to compile the package.
#/usr/bin/make
touch build-stamp
#dh_testdir
#cmake .
fakeroot debian/rules binary
#dh_testdir
#cmake .
#dh_testdir
#dh_testroot
#dh_prep
#dh_installdirs
# Add here commands to install the package into debian/<packagename>.
#/usr/bin/make prefix=`pwd`/debian/`dh_listpackages`/usr install
#dh_testdir
#dh_testroot
#dh_installchangelogs
#dh_installdocs
#dh_installman
#dh_link
#dh_compress
#dh_fixperms
#dh_installdeb
#dh_gencontrol
#dh_md5sums
#dh_builddeb
dpkg-genchanges >../opendungeons_0.4.8-1_amd64.changes
dpkg-genchanges: error: cannot read files list file: No such file or directory
dpkg-buildpackage: error: dpkg-genchanges gave error exit status 2
debuild: fatal error at line 1337:
dpkg-buildpackage -rfakeroot -D -us -uc failed
ckr@ckr-laptop:~/Desktop/Debing/opendungeons-0.4.8$
#!/usr/bin/make -f
WAF=./waf
%:
dh $@
override_dh_auto_clean:
$(WAF) --nocache distclean
rm -rf .build .waf*
override_dh_auto_configure:
$(WAF) --nocache configure --prefix=/usr --relpath=false --optimize=true
override_dh_auto_build:
$(WAF) --nocache build
override_dh_auto_install:
$(WAF) --nocache install --destdir=debian/lipsofsuna
StefanP.MUC {l Wrote}:I still didn't figure out how to auto-generate zip fils using cmake (or if it's even possible at all).
Anyways, I will change the resource.cfg now on git to use the zip files. Then svenskmand can at least adjust the installer script (devs then would have to create the zips manually until we found an automatic solution). Then a release would be possible.
Users browsing this forum: No registered users and 1 guest