Install

You can get LapackDoc from github. After cloning the repository compile its f77crash tools and adjust your PATH environment variable:

$shell> cd /tmp/demo                                               
$shell> git clone https://github.com/michael-lehn/LapackDoc.git    
Cloning into 'LapackDoc'...
$shell> cd LapackDoc                                               
$shell> cd f77crash                                                
$shell> make                                                       
(grep -n . tokens | sed "s/\([^:]*\):\(.*\)/#define \2 \1/"; echo) > .tmp/tokens.h.tmp
wc -l tokens | sed 's/^[^0-9]*\([1-9][0-9]*\)[^0-9]*$/#define NUM_TOKENS \1/' >> .tmp/tokens.h.tmp
(echo "#ifndef F77CRASH_TOKENS_H\n#define F77CRASH_TOKENS_H 1\n"; \
	 echo "#define SEOF 0\n"; \
	 cat .tmp/tokens.h.tmp; \
	 echo "\n#endif // F77CRASH_TOKENS_H") > tokens.h; \
	# rm -f .tmp/tokens.h.tmp
( grep "#define S" tokens.h | sed "s/#define/%token/" ;\
	cat fortran.y.in ) > fortran.y; \
	bison -o fortran.cc fortran.y
fortran.y: conflicts: 7 shift/reduce
set -e; rm -f main.d; \
    c++ -M -x c++ -std=c++11 -Wall -I/Users/lehn/work/LapackDoc -I.. -Wall -Werror -std=c++11 main.cc > .tmp/main.d.$$; \
    sed 's,\(main\)\.o[ :]*,\1.o main.d : ,g' < .tmp/main.d.$$ > main.d; \
    rm -f .tmp/main.d.$$
set -e; rm -f lex.d; \
    c++ -M -x c++ -std=c++11 -Wall -I/Users/lehn/work/LapackDoc -I.. -Wall -Werror -std=c++11 lex.cc > .tmp/lex.d.$$; \
    sed 's,\(lex\)\.o[ :]*,\1.o lex.d : ,g' < .tmp/lex.d.$$ > lex.d; \
    rm -f .tmp/lex.d.$$
set -e; rm -f highlight.d; \
    c++ -M -x c++ -std=c++11 -Wall -I/Users/lehn/work/LapackDoc -I.. -Wall -Werror -std=c++11 highlight.cc > .tmp/highlight.d.$$; \
    sed 's,\(highlight\)\.o[ :]*,\1.o highlight.d : ,g' < .tmp/highlight.d.$$ > highlight.d; \
    rm -f .tmp/highlight.d.$$
set -e; rm -f fortran.d; \
    c++ -M -x c++ -std=c++11 -Wall -I/Users/lehn/work/LapackDoc -I.. -Wall -Werror -std=c++11 fortran.cc > .tmp/fortran.d.$$; \
    sed 's,\(fortran\)\.o[ :]*,\1.o fortran.d : ,g' < .tmp/fortran.d.$$ > fortran.d; \
    rm -f .tmp/fortran.d.$$
set -e; rm -f cursor.d; \
    c++ -M -x c++ -std=c++11 -Wall -I/Users/lehn/work/LapackDoc -I.. -Wall -Werror -std=c++11 cursor.cc > .tmp/cursor.d.$$; \
    sed 's,\(cursor\)\.o[ :]*,\1.o cursor.d : ,g' < .tmp/cursor.d.$$ > cursor.d; \
    rm -f .tmp/cursor.d.$$
set -e; rm -f crossrefs.d; \
    c++ -M -x c++ -std=c++11 -Wall -I/Users/lehn/work/LapackDoc -I.. -Wall -Werror -std=c++11 crossrefs.cc > .tmp/crossrefs.d.$$; \
    sed 's,\(crossrefs\)\.o[ :]*,\1.o crossrefs.d : ,g' < .tmp/crossrefs.d.$$ > crossrefs.d; \
    rm -f .tmp/crossrefs.d.$$
set -e; rm -f auxiliary.d; \
    c++ -M -x c++ -std=c++11 -Wall -I/Users/lehn/work/LapackDoc -I.. -Wall -Werror -std=c++11 auxiliary.cc > .tmp/auxiliary.d.$$; \
    sed 's,\(auxiliary\)\.o[ :]*,\1.o auxiliary.d : ,g' < .tmp/auxiliary.d.$$ > auxiliary.d; \
    rm -f .tmp/auxiliary.d.$$
c++ -x c++ -std=c++11 -Wall -I/Users/lehn/work/LapackDoc -I.. -Wall -Werror -std=c++11 -c -o auxiliary.o auxiliary.cc
c++ -x c++ -std=c++11 -Wall -I/Users/lehn/work/LapackDoc -I.. -Wall -Werror -std=c++11 -c -o crossrefs.o crossrefs.cc
c++ -x c++ -std=c++11 -Wall -I/Users/lehn/work/LapackDoc -I.. -Wall -Werror -std=c++11 -c -o cursor.o cursor.cc
c++ -x c++ -std=c++11 -Wall -I/Users/lehn/work/LapackDoc -I.. -Wall -Werror -std=c++11 -c -o fortran.o fortran.cc
c++ -x c++ -std=c++11 -Wall -I/Users/lehn/work/LapackDoc -I.. -Wall -Werror -std=c++11 -c -o highlight.o highlight.cc
c++ -x c++ -std=c++11 -Wall -I/Users/lehn/work/LapackDoc -I.. -Wall -Werror -std=c++11 -c -o lex.o lex.cc
c++ -x c++ -std=c++11 -Wall -I/Users/lehn/work/LapackDoc -I.. -Wall -Werror -std=c++11 -c -o main.o main.cc
c++ auxiliary.o crossrefs.o cursor.o fortran.o highlight.o lex.o main.o -o f77crash
$shell> cd ..                                                      
$shell> export PATH=$PATH:$PWD                                     
$shell> export LAPACKDOC=$PWD