Skip to content

Commit

Permalink
Merge pull request wannier-developers#482 from qiaojunfeng/makefile_doc
Browse files Browse the repository at this point in the history
Update makefile for docs
  • Loading branch information
giovannipizzi committed Feb 16, 2024
2 parents 8515172 + 7e5fa60 commit a71bad1
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,22 +83,19 @@ clean:
$(MAKE) -f $(REALMAKEFILE) clean && \
cd ../ && rm -rf obj ; \
fi )
$(MAKE) -C $(ROOTDIR)/doc/user_guide clean
$(MAKE) -C $(ROOTDIR)/doc/tutorial clean
cd $(ROOTDIR)/docs && rm -r site
$(MAKE) -C $(ROOTDIR)/utility/w90pov clean
$(MAKE) -C $(ROOTDIR)/utility/w90vdw clean
cd $(ROOTDIR)/test-suite && ./clean_tests

veryclean: clean
cd $(ROOTDIR) && rm -f wannier90.x postw90.x libwannier.a libwan2.a w90chk2chk.x w90spn2spn.x
cd $(ROOTDIR)/doc && rm -f user_guide.pdf tutorial.pdf
cd $(ROOTDIR)/doc/user_guide && rm -f user_guide.ps
cd $(ROOTDIR)/doc/tutorial && rm -f tutorial.ps
cd $(ROOTDIR)/docs && rm -r site
cd $(ROOTDIR)/test-suite && ./clean_tests -i

thedoc:
$(MAKE) -C $(ROOTDIR)/doc/user_guide
$(MAKE) -C $(ROOTDIR)/doc/tutorial
@(echo "The latex user_guide and tutorials have been migrated to markdown \
format, for more details see 'docs/README.md' file.")

# For now hardcoded to 3.1.0, and using HEAD
# Better to get the version from the io.F90 file and use
Expand Down

0 comments on commit a71bad1

Please sign in to comment.