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

create 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: 2031
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 9198a570
# this is <Makefile>
# ----------------------------------------------------------------------------
# $Id: Makefile,v 1.23 2006-03-28 16:03:00 tforb Exp $
# $Id: Makefile,v 1.24 2006-03-28 17:34:09 tforb Exp $
#
# Copyright (c) 2002 by Thomas Forbriger (IMG Frankfurt)
#
......@@ -40,6 +40,7 @@
# 27/12/2002 V1.1 doxygen reads Fortran code and files generated by f2c
# 03/01/2003 V1.2 improved white-space-eating awk-script
# 04/01/2003 V1.3 corrected yesterday's change
# 28/03/2006 V1.4 provide a package
#
# ============================================================================
#
......@@ -356,4 +357,27 @@ compile-tests: \
tests/helpertest.run \
tests/f77test.run
#======================================================================
# create package
# --------------
VERSIONCODE=$(shell date +'%Y%m%d')
PACKAGE=libaff$(VERSIONCODE)
PUBLICATIONPATH=$(HOME)/public_html/download/software
TMPPATH=$(HOME)/tmp/$(PACKAGE)
package:
bin/rm -rfv $(TMPPATH); mkdir -pv $(TMPPATH)
cd $(TMPPATH)/..; cvs -d cvsserver:/user2/tforb/CVSff \
export -r HEAD -d $(PACKAGE) libaff
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 LOCINCLUDEDIR=include; export LOCLIBDIR=lib; \
export WWWBASEDIR=doxydoc; export LOCBINDIR=bin; \
make all; /bin/rm -rfv include lib bin'
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 -----
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