|
|
|
|
@ -154,6 +154,7 @@ rpm: rpmcommon
|
|
|
|
|
--define "_specdir $(RPMSPECDIR)" \
|
|
|
|
|
--define "_sourcedir %{_topdir}" \
|
|
|
|
|
--define "_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" \
|
|
|
|
|
--define "__python `which $(PYTHON)`" \
|
|
|
|
|
-ba rpm-build/$(NAME).spec
|
|
|
|
|
@rm -f rpm-build/$(NAME).spec
|
|
|
|
|
@echo "#############################################"
|
|
|
|
|
@ -172,16 +173,16 @@ deb: debian
|
|
|
|
|
# for arch or gentoo, read instructions in the appropriate 'packaging' subdirectory directory
|
|
|
|
|
|
|
|
|
|
modulepages:
|
|
|
|
|
PYTHONPATH=./lib hacking/module_formatter.py -A $(VERSION) -t man -o docs/man/man3/ --module-dir=library --template-dir=hacking/templates
|
|
|
|
|
PYTHONPATH=./lib $(PYTHON) hacking/module_formatter.py -A $(VERSION) -t man -o docs/man/man3/ --module-dir=library --template-dir=hacking/templates
|
|
|
|
|
|
|
|
|
|
modulejson:
|
|
|
|
|
mkdir -p docs/json
|
|
|
|
|
PYTHONPATH=./lib hacking/module_formatter.py -A $(VERSION) -t json -o docs/json --module-dir=library --template-dir=hacking/templates
|
|
|
|
|
PYTHONPATH=./lib $(PYTHON) hacking/module_formatter.py -A $(VERSION) -t json -o docs/json --module-dir=library --template-dir=hacking/templates
|
|
|
|
|
|
|
|
|
|
modulejs:
|
|
|
|
|
mkdir -p docs/js
|
|
|
|
|
make modulejson
|
|
|
|
|
PYTHONPATH=./lib hacking/module_formatter.py -A $(VERSION) -t js -o docs/js --module-dir=docs/json --template-dir=hacking/templates
|
|
|
|
|
PYTHONPATH=./lib $(PYTHON) hacking/module_formatter.py -A $(VERSION) -t js -o docs/js --module-dir=docs/json --template-dir=hacking/templates
|
|
|
|
|
|
|
|
|
|
# because this requires Sphinx it is not run as part of every build, those building the RPM and so on can ignore this
|
|
|
|
|
|
|
|
|
|
|