summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2008-06-27 03:17:18 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2008-07-15 12:28:54 +0200
commit1fd8089c39e6c6ea7f30ada804468fd04e4cf7d1 (patch)
treeb9f81a3a870fce3542571457ed31014ac7ccfe45 /src
parent6f848030dd6de2e5aa6276a79661c807835b8115 (diff)
downloadnbb-1fd8089c39e6c6ea7f30ada804468fd04e4cf7d1.tar.gz
nbb-1fd8089c39e6c6ea7f30ada804468fd04e4cf7d1.tar.xz
nbb-1fd8089c39e6c6ea7f30ada804468fd04e4cf7d1.zip
Install pydoc-generated docs
Diffstat (limited to 'src')
-rw-r--r--src/Makefile-files17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/Makefile-files b/src/Makefile-files
index a397c8d..f6a3c22 100644
--- a/src/Makefile-files
+++ b/src/Makefile-files
@@ -37,7 +37,17 @@ all-local-nbblib-pydoc: all-local-nbblib
echo $(PYDOC) -w "$${mod}"; \
$(PYDOC) -w "$${mod}"; \
done; \
- echo "Leaving directory '$$PWD'";
+ echo "Leaving directory '$$PWD'"
+ rm -rf pydoc
+ mkdir -p pydoc
+ mv src/nbblib*.html pydoc/
+
+install-data-local:
+ $(INSTALL) -d -m 0755 $(DESTDIR)$(htmldir)
+ $(INSTALL) -m 0644 pydoc/*.html $(DESTDIR)$(htmldir)/
+
+uninstall-local:
+ rm -f $(DESTDIR)$(htmldir)/*.html
endif
bin_SCRIPTS += src/nbb
@@ -65,7 +75,7 @@ src/nbb: src/nbb.in $(nodist_nbblib_PYTHON) $(nbblib_PYTHON) Makefile
endif
-clean-local: clean-local-nbblib
+clean-local: clean-local-nbblib clean-local-nbblib-pydoc
clean-local-nbblib:
rm -f src/nbblib/*.pyc
@top_srcdir="$$(cd "$(top_srcdir)" > /dev/null 2>&1 && pwd)"; \
@@ -77,4 +87,7 @@ clean-local-nbblib:
done; \
fi
+clean-local-nbblib-pydoc:
+ rm -rf pydoc
+
# End of Makefile-files.