Commit 255fe2cd authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

added Fortran doc rule

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 3360
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 7b5c295b
......@@ -182,6 +182,23 @@ doxydoc: $(DOXYWWWPATH)/html/index.html
doxyview: $(DOXYWWWPATH)/html/index.html
$(TF_BROWSER) file:$< &
#======================================================================
# ASCII documentation (Fortran and C code)
# ----------------------------------------
%.doc:
/usr/bin/awk 'BEGIN{ hot=0; } \
/^cS/ { hot=1; \
print " c\n c -----------------------------------------\n c"; \
next; } \
/^cE/ { hot=0; } \
{ if (hot==1) { print " " $$0; } }' $^ > $@
%.doc:
/usr/bin/awk 'BEGIN{ hot=0; } \
/^\/\*S\*\// { hot=1; next; } \
/^\/\*E\*\// { hot=0; } \
{ if (hot==1) { print " " $$0; } }' $^ > $@
#======================================================================
# create package
# --------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment