diff options
| author | hallgren <hallgren@chalmers.se> | 2014-06-19 15:45:55 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2014-06-19 15:45:55 +0000 |
| commit | f743217a54e2adb13e13ae5739c2621dc116ba6e (patch) | |
| tree | a2fb0ba2c4a6660b4ecb848fc0f019ea7832d5f6 /debian/rules | |
| parent | 3b7f6a271f52f17cd2e991a1d1ebafca325e710a (diff) | |
debian/rules: a hack to put the python binding in the right directory
The setup.py script puts it under site-packages, but python only looks under
dist-packages...
Also some minor changes for 'make deb' in Makefile
Diffstat (limited to 'debian/rules')
| -rw-r--r-- | debian/rules | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index f4e55bb20..8405cf2bd 100644 --- a/debian/rules +++ b/debian/rules @@ -24,6 +24,7 @@ override_dh_auto_install: LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(CURDIR)/src/runtime/c/.libs cabal copy --destdir=$(CURDIR)/debian/gf cd src/runtime/c && ./setup.sh copy prefix=$(CURDIR)/debian/gf/usr cd src/runtime/python && python setup.py install --prefix=$(CURDIR)/debian/gf/usr + D="`find debian/gf -name site-packages`" && [ -n "$$D" ] && cd $$D && cd .. && mv site-packages dist-packages override_dh_auto_test: ifneq (nocheck,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
