libcvautomation/python/Makefile.am

17 lines
436 B
Makefile
Raw Normal View History

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)
##Unfortunately, we can't really uninstall the python file.
##The python dist-utils don't tell us where it got installed
##to, so we can't uninstall it.
##uninstall-local:
CLEANFILES = setup.py
all-local: libcvautomation.py
clean-local:
rm -rf setup.py