Skip to content

Commit

Permalink
updated doc command in makefile to not move generated documentation f…
Browse files Browse the repository at this point in the history
…iles around
  • Loading branch information
niazim3 committed Jul 27, 2018
1 parent 87766ae commit 7b0a37d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions CaseStudies/glass/src/Python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,16 @@ PYDOCFLAGS = -w

RMDIR = rm -rf

DOCDIR = doc

.PHONY: test doc clean

test:
$(PYTST) $(PYFLAGS)

doc:
mkdir -p $(DOCDIR)
$(DOXY) $(DOXYCFG)
cd html && mv *.html ../$(DOCDIR)
cd latex && $(MAKE)
cd latex && mv *.tex ../$(DOCDIR)
cd latex && mv *.pdf ../$(DOCDIR)
@echo The generated files have been moved \
to a new directory /$(DOCDIR)
@echo The generated files can be viewed \
in the new directories /html and /latex

clean:
@- $(RMDIR) html
Expand Down

0 comments on commit 7b0a37d

Please sign in to comment.