From 32538c8c3d4663981982969cb451e46fe897ba7b Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sun, 1 Sep 2019 21:46:08 +1000 Subject: [PATCH] Fixes for doc building - Separate doc build from doc requirements - Fix command which doesn't work properly on *nix --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 900a67c7b2..9cf8253b5f 100644 --- a/Makefile +++ b/Makefile @@ -44,12 +44,14 @@ coverage: coverage run InvenTree/manage.py test build company part stock order InvenTree coverage html -documentation: +docreqs: pip3 install -U -r docs/requirements.txt - cd docs & make html + +documentation: + cd docs && make html backup: python3 InvenTree/manage.py dbbackup python3 InvenTree/manage.py mediabackup -.PHONY: clean migrate requirements setup superuser install mysql style test coverage documentation backup \ No newline at end of file +.PHONY: clean migrate requirements setup superuser install mysql style test coverage docreqs documentation backup \ No newline at end of file