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

prepare usage of install.sh template

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: 5287
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 7cd7f556
......@@ -20,6 +20,7 @@
all:
flist: Makefile $(wildcard Makefile.*) install.bashrc \
template_install.sh \
$(filter-out %.bak,$(wildcard README*))
echo $^ | tr ' ' '\n' | sort | egrep -v '.bak$$'> $@
......
......@@ -238,7 +238,8 @@ packageclean:
# list of README files to be obtained from the subversion repository
INFOFILESFROMSVNWITHPATH=src/TFbashrc src/LICENSE.GPL src/README.dependencies \
src/pakete/README.compile src/pakete/README.1st \
scr/util/misc/checklibs.sh src/pakete/install.bashrc
scr/util/misc/checklibs.sh src/pakete/install.bashrc \
src/pakete/template_install.sh
# list of files to be created
INFOFILESFROMSVN=$(notdir $(INFOFILESFROMSVNWITHPATH))
......@@ -366,10 +367,8 @@ $(TARGETLIST):
# this script is used within the package creation process to perform a first
# installation within the package creation directory
# additionally it is provided to the package user to support reinstallation
$(TMPPATH)/install.sh: $(TARGETLIST)
echo '#!/bin/sh' > $@
echo '# this is <install.sh>' >> $@
echo '# ----------------------------------------------------------------------------' >> $@
$(TMPPATH)/install.sh: $(TMPPATH)/template_install.sh $(TARGETLIST)
/bin/mv $< $@
echo '# install script of package $(THEPACKAGE)' >> $@
echo '# ============================================================================' >> $@
echo 'cd $$(dirname $$0)' >> $@
......
......@@ -11,6 +11,8 @@
# 23/10/2013 V1.0 Thomas Forbriger
#
# ============================================================================
# the following part of install.sh is independent of the actual package
#
# ----- END OF install.sh -----
# ============================================================================
# package specific contents are added below this line
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