Skip to content

Commit

Permalink
Debian: Packaging rules
Browse files Browse the repository at this point in the history
The rules apparently differ when doing a straight up binary build
vs. a build of the source package.
  • Loading branch information
skyjake committed Apr 30, 2014
1 parent 890f8c5 commit 3160eb4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions distrib/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@ builddir:
mkdir -p builddir

builddir/Makefile: builddir
cd ../doomsday/external/assimp && cmake -G "Unix Makefiles" && make -j2
cd builddir && qmake-qt4 PREFIX=/usr CONFIG+=deng_fluidsynth CONFIG+=deng_extassimp CONFIG+=release DENG_BUILD=`../build_number.py --print` ../../doomsday/$(APPNAME).pro
if [ -e ../doomsday/external/assimp ]; \
then cd ../doomsday/external/assimp; \
else cd doomsday/external/assimp; fi; \
cmake -G "Unix Makefiles" && make -j2
cd builddir && qmake-qt4 PREFIX=/usr CONFIG+=deng_fluidsynth \
CONFIG+=deng_extassimp CONFIG+=release \
DENG_BUILD=`../build_number.py --print` \
../../doomsday/$(APPNAME).pro

build: build-arch build-indep
build-arch: build-stamp
Expand Down

0 comments on commit 3160eb4

Please sign in to comment.