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

package

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: 2299
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent b2e8d9a6
# this is <Makefile> # this is <Makefile>
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
# $Id: Makefile,v 1.9 2007-06-05 09:18:46 tforb Exp $ # $Id: Makefile,v 1.10 2007-06-05 09:20:29 tforb Exp $
# #
# Copyright (c) 2007 by Thomas Forbriger (BFO Schiltach) # Copyright (c) 2007 by Thomas Forbriger (BFO Schiltach)
# #
...@@ -51,6 +51,8 @@ ...@@ -51,6 +51,8 @@
# ============================================================================ # ============================================================================
# #
all: greda gabor phadi hivexpanco hivgabor
LINLIB=-llapex -lblasex LINLIB=-llapex -lblasex
# LINLIB=-lf2cimslmath # LINLIB=-lf2cimslmath
BUGGY= BUGGY=
...@@ -103,4 +105,26 @@ flist: *.f Makefile *.inc ...@@ -103,4 +105,26 @@ flist: *.f Makefile *.inc
edit: flist edit: flist
vim $< vim $<
#======================================================================
# create package
# --------------
VERSIONCODE=$(shell date +'%Y%m%d')
PACKAGE=disan$(VERSIONCODE)
PUBLICATIONPATH=$(HOME)/public_html/download/software
TMPPATH=$(HOME)/tmp/$(PACKAGE)
package:
/bin/rm -rfv $(TMPPATH); mkdir -pv $(TMPPATH)
cd $(TMPPATH)/..; cvs export -l -r HEAD \
-d $(PACKAGE) thof/src/green/disan
cd $(TMPPATH)/..; cvs export -r HEAD -d $(PACKAGE) thof/src/LICENSE.GPL
cd $(TMPPATH)/..; cvs export -r HEAD \
-d $(PACKAGE) thof/src/README.compile
/bin/bash -c 'cd $(TMPPATH); \
export LOCBINDIR=bin; mkdir -v bin; \
make all; make clean'
cd $(TMPPATH)/..; tar cvf $(PUBLICATIONPATH)/$(PACKAGE).tar $(PACKAGE)
gzip --force -9 $(PUBLICATIONPATH)/$(PACKAGE).tar
cd $(TMPPATH)/..; tar cvf $(PUBLICATIONPATH)/$(PACKAGE).tar $(PACKAGE)
bzip2 -f $(PUBLICATIONPATH)/$(PACKAGE).tar
# ----- END OF Makefile ----- # ----- END OF Makefile -----
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