diff options
author | Karl Ramm <kcr@1ts.org> | 2009-07-15 14:34:02 +0000 |
---|---|---|
committer | Karl Ramm <kcr@1ts.org> | 2009-07-15 14:34:02 +0000 |
commit | d54bda3667ccb164fbfb37bf7b4d7aa3fea2471f (patch) | |
tree | 542a5ac3259a7991faa4747c411ff51dd7d68c08 /debian/rules | |
parent | 827e165e5b80d999a8a30b3292f9bbb4a8c772e1 (diff) |
Factor the python library stuff out of the test suite and stick
it in it's own file. And then put it in a debian package.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules index 7a36d8d..6cf638c 100755 --- a/debian/rules +++ b/debian/rules @@ -11,7 +11,7 @@ VARIETALS=krb5 #VARIETALS=krb krb45 krb5 -PACKAGES:=-plibzephyr4 -pzephyr-clients -pzephyr-server -plibzephyr-dev $(foreach i,$(VARIETALS),-plibzephyr4-$(i) -pzephyr-server-$(i)) +PACKAGES:=-plibzephyr4 -pzephyr-clients -pzephyr-server -plibzephyr-dev -plibzephyr-python $(foreach i,$(VARIETALS),-plibzephyr4-$(i) -pzephyr-server-$(i)) # This has to be exported to make some magic below work. export DH_OPTIONS @@ -118,6 +118,8 @@ install: build for dir in $(VARIETALS); do \ cp -rp debian/tmp/etc/zephyr/acl debian/tmp-$$dir/etc/zephyr; \ done + mkdir -p debian/tmp/usr/lib/python2.5/site-packages + install -c -m 644 python/zephyr.py debian/tmp/usr/lib/python2.5/site-packages # Build architecture-independent files here. # Pass -i to all debhelper commands in this target to reduce clutter. @@ -147,7 +149,7 @@ binary-arch: build install for dir in $(VARIETALS); do \ cp debian/libzephyr4.files debian/libzephyr4-$$dir.files; \ done - dh_movefiles -plibzephyr4 -pzephyr-clients -pzephyr-server -plibzephyr-dev + dh_movefiles -plibzephyr4 -pzephyr-clients -pzephyr-server -plibzephyr-dev -plibzephyr-python for dir in $(VARIETALS); do \ dh_movefiles --sourcedir=debian/tmp-$$dir -plibzephyr4-$$dir -pzephyr-server-$$dir; \ done @@ -158,7 +160,9 @@ binary-arch: build install for dir in $(VARIETALS); do \ dh_installinit -pzephyr-server-$$dir --init-script=zephyrd; \ done - dh_installchangelogs + dh_installchangelogs + dh_pycentral -plibzephyr-python + dh_python -plibzephyr-python dh_strip dh_compress dh_fixperms |