summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-09-26 11:11:51 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-09-26 15:55:42 (GMT)
commitbbe1d048955fb9e03769a92387b83389ac3fd781 (patch)
tree34ba7f4c6a1e2c05283970affa2dc939726f24da /Swift/Packaging/Debian/rules
parent60e4ab9985c04acd399265d793d250a1b24e3412 (diff)
downloadswift-bbe1d048955fb9e03769a92387b83389ac3fd781.zip
swift-bbe1d048955fb9e03769a92387b83389ac3fd781.tar.bz2
Added debian packaging script.
Diffstat (limited to 'Swift/Packaging/Debian/rules')
-rwxr-xr-xSwift/Packaging/Debian/rules61
1 files changed, 61 insertions, 0 deletions
diff --git a/Swift/Packaging/Debian/rules b/Swift/Packaging/Debian/rules
new file mode 100755
index 0000000..d9b65f0
--- /dev/null
+++ b/Swift/Packaging/Debian/rules
@@ -0,0 +1,61 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ touch $@
+
+build: build-stamp
+build-stamp: configure-stamp
+ dh_testdir
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ scons qt=/usr/share/qt4 -c
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+ scons swift_version=$(SWIFT_VERSION) qt=/usr/share/qt4 SWIFT_INSTALLDIR=$(CURDIR)/debian/swift/usr
+
+binary-indep: install
+binary-arch: install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_python
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure