summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2010-06-29 16:53:21 +1200
committerLars Wirzenius <liw@liw.fi>2010-06-29 16:53:21 +1200
commit76543846bf2c8b9f3b390d18d084abcc54a3dc45 (patch)
tree2f6b00a2e05962d02d6d547ec961a9d0531eebea
parent3652bf802132d8e38bff890534cbd30dd0f564b5 (diff)
downloadobnam-76543846bf2c8b9f3b390d18d084abcc54a3dc45.tar.gz
Debian packaging fixes.
-rw-r--r--Makefile4
-rw-r--r--debian/control6
-rwxr-xr-xdebian/rules2
3 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index cb54d756..68db469d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,8 @@
PYTHON = python
+prefix = /usr/local
+bindir = $(prefix)/bin
+
all: _obnam.so
_obnam.so: _obnammodule.c
@@ -17,4 +20,3 @@ clean:
rm -f _obnam.so obnamlib/*.pyc obnamlib/plugins/*.pyc test-plugins/*.pyc
rm -f blackboxtest.log blackboxtest-obnam.log obnam.prof
rm -f obnam-new-data.png obnam-store.png obnam-xfer.png obnam.seivot
-
diff --git a/debian/control b/debian/control
index ac3fc75a..cc50e597 100644
--- a/debian/control
+++ b/debian/control
@@ -9,9 +9,9 @@ Build-Depends: debhelper (>= 7.3.8), python-support (>= 1.0.3),
Homepage: http://braawi.org/obnam/
Package: obnam
-Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, python (>= 2.5),
- python-btree (>= 0.10), python-ttystatus
+Architecture: any
+Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends},
+ python (>= 2.5), python-btree (>= 0.10), python-ttystatus
Description: online backup application
Obnam makes backups.
.
diff --git a/debian/rules b/debian/rules
index 9f5fdf90..bba95f9f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
dh $@ --with-buildsystem=python_distutils
override_dh_auto_install:
- python setup.py install --prefix=debian/#FIXME/usr
+ python setup.py install --prefix=debian/obnam/usr
override_dh_auto_build:
dh_auto_build $@ --with-buildsystem=python_distutils