Fixing Makefile and pymodule

This commit is contained in:
BlackLight 2011-02-08 00:57:55 +01:00
parent c8537f1065
commit e1403d2719
3 changed files with 8 additions and 4 deletions

View File

@ -56,9 +56,11 @@ doc:
fi
install-data-hook:
if test ! -z "${PWD}/doc"; then \
if test -d "${PWD}/doc"; then \
mkdir -p "${SHARE_PREFIX}/doc"; \
cp -r "${PWD}/doc/"* "${SHARE_PREFIX}/doc"; \
if test -d "${PWD}/doc/html" -a "${PWD}/doc/latex"; then \
cp -r "${PWD}/doc/html" "${PWD}/doc/latex" "${SHARE_PREFIX}/doc"; \
fi \
fi
mkdir -p "${SHARE_PREFIX}/htdocs"
mkdir -p "${SHARE_PREFIX}/htdocs/js"

View File

@ -861,9 +861,11 @@ doc:
fi
install-data-hook:
if test ! -z "${PWD}/doc"; then \
if test -d "${PWD}/doc"; then \
mkdir -p "${SHARE_PREFIX}/doc"; \
cp -r "${PWD}/doc/"* "${SHARE_PREFIX}/doc"; \
if test -d "${PWD}/doc/html" -a "${PWD}/doc/latex"; then \
cp -r "${PWD}/doc/html" "${PWD}/doc/latex" "${SHARE_PREFIX}/doc"; \
fi \
fi
mkdir -p "${SHARE_PREFIX}/htdocs"
mkdir -p "${SHARE_PREFIX}/htdocs/js"

Binary file not shown.