summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-06-18 15:57:50 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-06-18 15:57:50 (GMT)
commited0dbffeb8a3b36965d359c8a689bdb41372e481 (patch)
treed0fd5ff47f95516346832c08c4511740817b762c /Swift/Packaging/Debian/debian/rules
parentc20ecae7c569befc8c970f839ce9e14410c118fb (diff)
parente45f1cc4ef85ea32b8307f25d22737906a87672c (diff)
downloadswift-contrib-ed0dbffeb8a3b36965d359c8a689bdb41372e481.zip
swift-contrib-ed0dbffeb8a3b36965d359c8a689bdb41372e481.tar.bz2
Merge branch 'swift-1.x'
* swift-1.x: More Debian packaging tweaks.
Diffstat (limited to 'Swift/Packaging/Debian/debian/rules')
-rwxr-xr-xSwift/Packaging/Debian/debian/rules17
1 files changed, 12 insertions, 5 deletions
diff --git a/Swift/Packaging/Debian/debian/rules b/Swift/Packaging/Debian/debian/rules
index 8069c33..4105fec 100755
--- a/Swift/Packaging/Debian/debian/rules
+++ b/Swift/Packaging/Debian/debian/rules
@@ -2,19 +2,26 @@
#export DH_VERBOSE=1
+SCONS_FLAGS=V=1 optimize=1 debug=1 allow_warnings=1 swiften_dll=1 qt=/usr/share/qt4 docbook_xsl=/usr/share/xml/docbook/stylesheet/docbook-xsl docbook_xml=/usr/share/xml/docbook/schema/dtd/4.5
+
+clean:
+ dh_testdir
+ dh_clean
+ scons $(SCONS_FLAGS) $(SCONS_EXTRA_FLAGS) SWIFT_INSTALLDIR=$(CURDIR)/debian/tmp/usr SWIFTEN_INSTALLDIR=$(CURDIR)/debian/tmp/usr -c
+ -rm -rf .scon*
+ -rm -rf config.log
+
configure:
build: configure
-
-clean:
+ dh_testdir
+ scons $(SCONS_FLAGS) $(SCONS_EXTRA_FLAGS) Swift Swiften
install: build
- dh_testdir
dh_testroot
dh_prep
dh_installdirs
- scons $(SCONS_FLAGS) optimize=1 debug=1 allow_warnings=1 swiften_dll=1 qt=/usr/share/qt4 docbook_xsl=/usr/share/xml/docbook/stylesheet/docbook-xsl docbook_xml=/usr/share/xml/docbook/schema/dtd/4.5 SWIFT_INSTALLDIR=$(CURDIR)/debian/tmp/usr SWIFTEN_INSTALLDIR=$(CURDIR)/debian/tmp/usr $(CURDIR)/debian/tmp
-
+ scons $(SCONS_FLAGS) $(SCONS_EXTRA_FLAGS) SWIFT_INSTALLDIR=$(CURDIR)/debian/tmp/usr SWIFTEN_INSTALLDIR=$(CURDIR)/debian/tmp/usr $(CURDIR)/debian/tmp
binary-indep: install
binary-arch: install