Commit 0f52d1fe authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

WWWBASEDIR and TF_WWWBASEDIR were duplicate

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/branches/libenv201008
SVN Revision: 3158
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 5a35922b
......@@ -33,7 +33,7 @@
# expression, we prefer the remcmmnt command by Jari Laaksonen. You can find
# the code at
# http://www.eti.pg.gda.pl/KATEDRY/kecs/lab-cpp/snippets/
# If it is not available to you, you should set REMCMMNT=cat (see below)
# If it is not available to you, you should set TF_REMCMMNT=cat (see below)
#
# REVISIONS and CHANGES
# 06/12/2002 V1.0 Thomas Forbriger
......@@ -45,6 +45,7 @@
# systems; the Fortran interface was tested with g77
# and f2c (not yet with gfortran)
# 17/08/2010 V1.6 prepare for new environment settings
# 18/09/2010 V1.7 TF_WWWBASEDIR and TF_REMCMMNT must be used
#
# ============================================================================
#
......@@ -116,8 +117,8 @@ EMPTYPRINT=1
#EMPTYPRINT=0
# define this to be cat in case you do not have remcmmnt available
ifndef REMCMMNT
REMCMMNT=cat
ifndef TF_REMCMMNT
TF_REMCMMNT=cat
endif
#REMCMMNT=remcmmnt
#REMCMMNT=cat
......@@ -268,12 +269,12 @@ binarray_%.d: binarray.cc
# Since we extensively document the class structures within the header files,
# these should be stripped for the production version (otherwise the compiler
# has to scan all comments on each compile). Stripping is done by the rule
# below and is controlled by the variables REMCMMNT and EMPTYPRINT (see
# below and is controlled by the variables TF_REMCMMNT and EMPTYPRINT (see
# above).
# comment stripping
# -----------------
$(call CHECKVARS,REMCMMNT EMPTYPRINT)
$(call CHECKVARS,TF_REMCMMNT EMPTYPRINT)
# awk rule assumes that the first non-comment line starts with '#'
# and that the first (copyright) comment end with pattern "^ */"
......@@ -281,7 +282,7 @@ $(call CHECKVARS,REMCMMNT EMPTYPRINT)
awk 'BEGIN {hot=1;} /^ \*\// { if (hot) { hot=2; print; next;} }\
/^#/ { hot=0; } \
{ if (hot==2) { print ""; } else if (hot) { print; } }' $< > $@
$(REMCMMNT) $< | awk 'BEGIN {hot=0;} \
$(TF_REMCMMNT) $< | awk 'BEGIN {hot=0;} \
/^ *$$/ { if ((hot) && ($(EMPTYPRINT))) { print ""; } next; } \
/^#/ { hot=1; } { if (hot) print; }' >> $@
......@@ -318,13 +319,13 @@ install-include: $(INSTHEADER)
# directory.
#
$(call CHECKVARS,WWWBASEDIR TF_BROWSER)
$(call CHECKVARS,TF_WWWBASEDIR TF_BROWSER)
DOXYWWWPATH=$(WWWBASEDIR)/libaff
DOXYWWWPATH=$(TF_WWWBASEDIR)/libaff
.PHONY: doxyclean doxyview doxydoc doxyconf
doxyclean: ;/bin/rm -rfv $(WWWBASEDIR)/libaff
doxyclean: ;/bin/rm -rfv $(TF_WWWBASEDIR)/libaff
DOXYSRC=$(README) $(HEADERS) $(SRC) \
tests/f77procs.P tests/f77procs.f \
......
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