mirror of
https://github.com/bspeice/libcvautomation
synced 2024-12-04 13:58:11 -05:00
Fix up the Debian process for python
This commit is contained in:
parent
3d8f411d46
commit
0f832d4923
2
debian/libcvautomation-dev.install
vendored
2
debian/libcvautomation-dev.install
vendored
@ -1,3 +1,3 @@
|
||||
usr/lib/*
|
||||
usr/lib/*.so*
|
||||
usr/share/man/man3/*
|
||||
usr/include/*
|
||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -16,11 +16,11 @@
|
||||
# This has to be exported to make some magic below work.
|
||||
export DH_OPTIONS
|
||||
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_install:
|
||||
find debian/tmp/usr/lib -name "*.la" -exec \
|
||||
sed -i -e "s,^dependency_libs=.*,dependency_libs=''," {} \;
|
||||
find debian/tmp/usr/lib -name "*.pyc" -exec rm {} \;
|
||||
dh_install
|
||||
|
@ -1,7 +1,7 @@
|
||||
EXTRA_DIST = libcvautomation.py
|
||||
|
||||
install-data-local: setup.py
|
||||
$(Python) setup.py install --prefix=$(RPM_BUILD_ROOT)/$(prefix) --exec-prefix=$(RPM_BUILD_ROOT)/$(exec_prefix)
|
||||
$(Python) setup.py install --prefix=$(DESTDIR)/$(prefix) --exec-prefix=$(DESTDIR)/$(exec_prefix)
|
||||
|
||||
##Unfortunately, we can't really uninstall the python file.
|
||||
##The python dist-utils don't tell us where it got installed
|
||||
|
Loading…
Reference in New Issue
Block a user