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

added some comments

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: 3832
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent b23f80da
......@@ -78,10 +78,19 @@
# it is expected that for these packages the targets
# "install", "doc", and "reinstall" are defined
#
# variables which are expected to be set:
# variables which are expected to be set in the shell environment
# ---------------------------------------------------------------
# see also TFbashrc
#
# SVNTF: repository URL
# TF_PUBLICATIONPATH: path to drop packages
#
# TF_MAKEPGK: the full path of this Makefile (Makefile.packages)
#
# LOCBINDIR, LOCLIBDIR, LOCINCLUDEDIR: these settings are passed to
# SERVERBINDIR, SERVERLIBDIR, and SERVERINCLUDEDIR
# upon compilation of binaries
#
#----------------------------------------------------------------------
#
# When building and installing files, the environment variables will be set to
......@@ -195,8 +204,12 @@ packageclean:
#======================================================================
# provide information files
# -------------------------
# These rules create the different README files usually distributed together
# with the packages.
# These rules create the different README files and shell scripts usually
# distributed together with the packages. These files reside in the root
# directory of the package snapshot tree.
#
# The rules below comprise comppands to checkout files from the repository and
# to create new files (README.system) upon package creation.
#
# list of README files to be obtained from the subversion repository
......@@ -232,13 +245,18 @@ $(TMPPATH)/README.system:
(echo -n "$(CPP): "; $(CPP) --version) 2>&1 | head -1 >> $@
(echo -n "$(FC): "; $(FC) --version) 2>&1 | head -1 >> $@
# list of all README files together with locally created
# list of all README files and shell scripts together with locally created
# files in the root directory of the snapshot tree
INFOFILES=$(INFOFILESFROMSVN) README.system
#======================================================================
# export targets
# --------------
#
# The rules in this section are used to actually export the snapshot from the
# subversion repository. The target is designed to handle a list of source
# directory and destination directory pairs.
#
# list of export targets (i.e. modules to be exported from the repository)
LIBEXPORT=$(foreach lib,$(THEPACKAGELIBS),trunk/src/libs/$(lib):contrib/$(lib))
EXPORTLIST=$(subst :,.EXPORTTO.,$(LIBEXPORT) $(PACKAGEEXPORT))
......@@ -258,8 +276,22 @@ $(EXPORTLIST):
#======================================================================
# in this section the actual installation is perpared and carried out
# -------------------------------------------------------------------
# the install command to be issued are controlled by the variables
# The install command to be issued are controlled by the variables
# PACKAGETARGETS and PACKAGELIBS (see above)
#
# The rules in this section controll the installation of compiled binaries
# within the snapshot tree. This is done in three steps:
# 1. Create a file $(TARGETSCRIPT) with commands necessary to build the binary
# version of components of the snapshot. Actually this file is build by
# issuing make for each target in $(TARGETLIST). Each of these targets adds
# an entry to $(TARGETSCRIPT)
# 2. Create an install.sh script in the root directory of the snapshot tree.
# All targets in $(TARGETLIST) are a prerequisite for this target, such
# that $(TARGETSCRIPT) exists upon creation of install.sh. $(TARGETSCRIPT)
# contains the core commands for install.sh
# 3. Issue the install commands (make executeinstall). install.sh is a
# prerequisite for target executeinstall. The rule of executeinstall
# calls install.sh in a specially prepared environment.
# list of make targets to be executed after repository modules being exported
LIBINSTALL=$(foreach lib,$(THEPACKAGELIBS),contrib/$(lib):install:-i)
......
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