Skip to content

Commit

Permalink
Changes in documentation build process
Browse files Browse the repository at this point in the history
Change-Id: Ia2c8922be4df95b13d0c37c283104c93b5e53bce
  • Loading branch information
emercadal committed Sep 29, 2017
1 parent abf56f2 commit 11a7881
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 273 deletions.
21 changes: 11 additions & 10 deletions docs/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,26 @@ pdf:

man:
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
$(MKDIR_P) $(BUILDDIR)/man/man1
$(MKDIR_P) $(BUILDDIR)/man/man3
mv $(BUILDDIR)/man/extrae.1 $(BUILDDIR)/man/man1/
mv $(BUILDDIR)/man/mpi2prv.1 $(BUILDDIR)/man/man1/
mv $(BUILDDIR)/man/UFlist.sh.1 $(BUILDDIR)/man/man1/
mv $(BUILDDIR)/man/extrae_event.3 $(BUILDDIR)/man/man3/
cd $(BUILDDIR)/man/man1 && ln -sn mpi2prv.1 mpimpi2prv.1
cd $(BUILDDIR)/man/man1 && ln -sn mpi2prv.1 mpi2dim.1
cd $(BUILDDIR)/man/man1 && ln -sn mpi2prv.1 mpimpi2dim.1
@echo
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."

install-exec-hook:
$(MKDIR_P) $(datadir)/docs
$(MKDIR_P) $(datadir)/man/man1
$(MKDIR_P) $(datadir)/man/man3
cp -r $(BUILDDIR)/html $(datadir)/docs/
cp -r $(BUILDDIR)/man/extrae.1 $(datadir)/man/man1/
cp -r $(BUILDDIR)/man/mpi2prv.1 $(datadir)/man/man1/
cp -r $(BUILDDIR)/man/UFlist.sh.1 $(datadir)/man/man1/
cp -r $(BUILDDIR)/man/extrae_event.3 $(datadir)/man/man3/
cp -r $(BUILDDIR)/man $(datadir)/
cp $(BUILDDIR)/latex/user-guide.pdf $(datadir)/docs/
ln -sn $(datadir)/man/man1/mpi2prv.1 $(datadir)/man/man1/mpimpi2prv.1
ln -sn $(datadir)/man/man1/mpi2prv.1 $(datadir)/man/man1/mpi2dim.1
ln -sn $(datadir)/man/man1/mpi2prv.1 $(datadir)/man/man1/mpimpi2dim.1

uninstall-local:
rm -r $(datadir)/docs/html
rm -r $(datadir)/docs/man
rm -r $(datadir)/man
rm $(datadir)/docs/user-guide.pdf
rmdir --ignore-fail-on-non-empty $(datadir)/docs
263 changes: 0 additions & 263 deletions docs/make.bat.bak

This file was deleted.

0 comments on commit 11a7881

Please sign in to comment.