Commit df589240 authored by Fabian Greffrath's avatar Fabian Greffrath

Upstream switched build system to Autotools

parent 1bca9ccf
rott (1.1.2+svn287-1) UNRELEASED; urgency=medium
* New upstream SVN snapshot.
* Add debian/README.source file to document how the Debian source
tarball was created.
* Remove all patches that were applied upstream.
* Upstream switched build system to Autotools.
+ Add Build-Depends: dh-autoreconf and adapt debian/rules accordingly.
-- Fabian Greffrath <fabian+debian@greffrath.com> Thu, 30 Apr 2015 16:26:04 +0200
rott (1.1.2-3) unstable; urgency=medium
* Make the "commercial" variant recognize all supported
......
......@@ -8,6 +8,7 @@ Uploaders:
Jon Dowland <jmtd@debian.org>
Build-Depends:
debhelper (>= 9),
dh-autoreconf,
libsdl-mixer1.2-dev,
libsdl1.2-dev
Standards-Version: 3.9.5
......
......@@ -2,4 +2,5 @@
../debian/rott.svg /usr/share/icons/hicolor/scalable/apps/
../debian/rott.xpm /usr/share/pixmaps/
../misc/rott.desktop /usr/share/applications/
rott-* /usr/games/
rott-shareware /usr/games/
rott-commercial /usr/games/
#!/usr/bin/make -f
DEB_CFLAGS_MAINT_APPEND += -DDATADIR=\"/usr/share/games/rott/\"
DEB_CFLAGS_MAINT_APPEND += -Wno-pointer-sign -Wno-unused
export DEB_CFLAGS_MAINT_APPEND
......@@ -11,12 +10,26 @@ debian/rott.png: debian/rott.svg
inkscape --export-png=$@ $^
%:
dh $@ --sourcedir=rott
dh $@ --with autoreconf
override_dh_auto_configure:
# Both flavors are configured and built in the dh_auto_build target.
override_dh_auto_build:
# Shareware Version
$(MAKE) -C rott tidy
dh_auto_build -O--parallel -- ROTT=rott-shareware SHAREWARE=1
dh_auto_configure -- \
--enable-datadir="/usr/share/games/rott/" \
--enable-suffix="shareware" \
--enable-shareware
dh_auto_build -O--parallel
# Commercial Version
$(MAKE) -C rott tidy
dh_auto_build -O--parallel -- ROTT=rott-commercial SHAREWARE=0
dh_auto_configure -- \
--enable-datadir="/usr/share/games/rott/" \
--enable-suffix="commercial"
dh_auto_build -O--parallel
override_dh_auto_install:
override_dh_install:
dh_install --sourcedir=rott
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment