Commit 58ac9ff9 authored by thomas.forbriger's avatar thomas.forbriger
Browse files

gremlin: proceeding with packaging; addind READMEs

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.
parent 238b472a
......@@ -7,6 +7,9 @@ $Id$
Copyright (C) 1997, 2011 by Thomas Forbriger (IfG Stuttgart)
BibTeX style pepi.bst:
Copyright (C) 1994, 1995, 1996 Patrick W. Daly
----
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......
......@@ -90,9 +90,25 @@ clean:
edit: flist
vim flist
flist: *.f */*.f *.inc */*.inc Makefile */Makefile */*.h */*.cc COPYING README \
$(wildcard docu/*.tex docu/*.bib docu/pepi.???)
echo $^ | tr ' ' '\n' | sort > $@
flist: $(wildcard *.f */*.f *.inc */*.inc */*.h */*.cc) \
$(wildcard Makefile */Makefile) COPYING README \
$(wildcard */COPYING */README) \
$(wildcard docu/*.tex docu/*.bib docu/pepi.???)
echo $(filter %Makefile,$^) | tr ' ' '\n' | sort > $@
echo $(filter %README,$^) | tr ' ' '\n' | sort >> $@
echo $(filter %COPYING,$^) | tr ' ' '\n' | sort >> $@
echo '----------' >> $@
echo $(filter-out %Makefile %COPYING %README cxx/% tools/% docu/% libs/%,$^) | tr ' ' '\n' | sort >> $@
echo '----------' >> $@
echo $(filter libs/%,$^) | tr ' ' '\n' | sort >> $@
echo '----------' >> $@
echo $(filter cxx/%,$^) | tr ' ' '\n' | sort >> $@
echo '----------' >> $@
echo $(filter tools/%,$^) | tr ' ' '\n' | sort >> $@
echo '----------' >> $@
echo $(filter docu/%,$^) | tr ' ' '\n' | sort >> $@
echo '----------' >> $@
echo $(TF_EDIT) | tr ' ' '\n' | sort >> $@
#----------------------------------------------------------------------
# Fortran dependencies
......@@ -133,9 +149,10 @@ gredim: gredim.o gredim_comments.xxx
.PHONY: list-libraries
list-libraries:
grep ' -l' Makefile | tr ' ' '\n' | egrep '^-l' |sort | uniq
grep ' -l' Makefile | tr ' ' '\n' | egrep 'PGP' |sort | uniq
grep ' -l' $(wildcard */Makefile) Makefile \
| tr ' ' '\n' | egrep '^-l' |sort | uniq
grep ' -l' $(wildcard */Makefile) Makefile \
| tr ' ' '\n' | egrep 'PGP' |sort | uniq
#======================================================================
# documentation
......@@ -144,6 +161,7 @@ docu/gremlin.dvi: docu/gremlin.tex
gremlin.pdf: docu/gremlin.dvi
cd docu; pdflatex gremlin
/bin/cp -vpd docu/gremlin.pdf $@
#======================================================================
# create package
# --------------
......@@ -160,9 +178,9 @@ package: $(TF_MAKEPKG)
fullpackage: $(TF_MAKEPKG)
$(MAKE) -f $< \
PACKAGE=gremlinwithlibs \
PACKAGEEXPORT="trunk/src/green/gremlin1:src trunk/src/synt/ref/refmet:contrib/refmet" \
PACKAGETARGETS="contrib/refmet:all src:all" \
PACKAGELIBS="libemod libsff libsffu libtf libts libfapidxx libtfxx libdatrwxx libsffxx libtime libgsexx libtsxx libseife libaff libgrrefsub libwrefsub"
PACKAGEEXPORT="trunk/src/green/gremlin1:src trunk/src/synt/ref/refmet/sub:contrib/refread" \
PACKAGETARGETS="contrib/refread:all src:all" \
PACKAGELIBS=""
endif
# ----- END OF Makefile -----
......@@ -24,6 +24,9 @@ libraries and library header files are expected:
LOCINCLUDEDIR defines location of C/C++ header files (prototypes)
LOCBINDIR defines location of binary executables
Dependencies
------------
required libraries:
libgin:
will be compiled by the Makefile in subdirectory libs
......@@ -39,6 +42,8 @@ required libraries:
libblas, liblapack:
are expected to be installed in some system library path
LaTeX (with pdflatex) is required to compile the documentation provided in
subdirectory docu.
============================================================================
......
this is <README>
============================================================================
C++ tools for gremlin
---------------------
$Id: $
============================================================================
----- END OF README -----
this is <README>
============================================================================
documentation for gremlin
-------------------------
$Id: $
============================================================================
----- END OF README -----
this is <README>
============================================================================
tools for gremlin
-----------------
$Id: $
============================================================================
----- END OF README -----
Markdown is supported
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