doc: Update general information.
[gfxprim/pasky.git] / pyinst.mk
blobf1323b63761b8dfa0271f5224382f359a28b679f
2 # Install python libraries into right place
4 # Note that LIBNAME is be empty for root gfxprim python package
6 ifdef SWIG
7 ifdef PYTHON_CONFIG
9 PY_INSTALL_PREFIX=$(prefix)/$(libdir)/python$(PYTHON_VER)/gfxprim/$(LIBNAME)
11 ifdef DESTDIR
12 PY_INSTALL_PREFIX:=$(DESTDIR)$(PY_INSTALL_PREFIX)
13 endif
15 install: $(INSTALL_FILES)
16 ifdef VERBOSE
17 install -d "$(PY_INSTALL_PREFIX)"
18 for i in $(INSTALL_FILES); do install "$$i" "$(PY_INSTALL_PREFIX)"; done
19 else
20 @echo "DEST $(PY_INSTALL_PREFIX)"
21 @install -d "$(PY_INSTALL_PREFIX)"
22 @for i in $(INSTALL_FILES); do echo " -> $$i"; install "$$i" "$(PY_INSTALL_PREFIX)"; done
23 endif
25 endif
26 endif