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

avoid makefdoc.pl

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: 3383
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 58603656
......@@ -17,6 +17,7 @@
# 03/05/2002 V1.2 introduced external parselect
# 04/07/2002 V1.3 new mseisfk offset removal
# 09/02/2010 V1.4 transition to gfortran
# 15/11/2010 V1.5 avoid makefdoc.pl
#
# ============================================================================
#
......@@ -97,23 +98,26 @@ glq_dim.inc: glq_dimstd.inc; /bin/cp -v $< $@
docs: libmod.doc libdat.doc libpar.doc libpg.doc libinv.doc libres.doc
libdat.doc: $(DATOBS) glq_data.inc dat_oldhead.f
makefdoc.pl libdat.doc $^
libdat.doc: $(patsubst %.o,%.f,$(DATOBS)) glq_data.inc dat_oldhead.f
libmod.doc: $(MODOBS) glq_model.inc mod_oldhead.f glq_strings.inc
makefdoc.pl libmod.doc $^
libmod.doc: $(patsubst %.o,%.f,$(MODOBS)) glq_model.inc mod_oldhead.f glq_strings.inc
libinv.doc: $(INVOBS) glq_inv.inc glq_invpara.inc inv_oldhead.f
makefdoc.pl libinv.doc $^
libinv.doc: $(patsubst %.o,%.f,$(INVOBS)) glq_inv.inc glq_invpara.inc inv_oldhead.f
libpar.doc: $(PAROBS) glq_para.inc par_oldhead.f
makefdoc.pl libpar.doc $^
libpar.doc: $(patsubst %.o,%.f,$(PAROBS)) glq_para.inc par_oldhead.f
libpg.doc: $(PGOBS) glq_pg.inc glq_pgpara.inc pg_oldhead.f
makefdoc.pl libpg.doc $^
libpg.doc: $(patsubst %.o,%.f,$(PGOBS)) glq_pg.inc glq_pgpara.inc pg_oldhead.f
libres.doc: $(RESOBS) glq_invres.inc
makefdoc.pl libres.doc $^
libres.doc: $(patsubst %.o,%.f,$(RESOBS)) glq_invres.inc
%.doc:
/usr/bin/awk 'BEGIN{ hot=0; } \
/^cS/ { hot=1; \
print FILENAME; \
print " c\n c"; \
next; } \
/^cE/ { hot=0; } \
{ if (hot==1) { print " " $$0; } }' $^ > $@
make.incdep: *.f
incdep > make.incdep
......
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