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

providing packages

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: 2040
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 39fce65c
# this is <Makefile>
# ----------------------------------------------------------------------------
# $Id: Makefile,v 1.15 2006-03-28 15:58:17 tforb Exp $
# $Id: Makefile,v 1.16 2006-03-28 18:26:59 tforb Exp $
#
# Copyright (c) 2003 by Thomas Forbriger (BFO Schiltach)
#
......@@ -21,9 +21,12 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# ----
#
# This library requires code from libgsexx, libaff, libtfxx and libtime.
#
# REVISIONS and CHANGES
# 18/12/2003 V1.0 Thomas Forbriger
# 28/03/2006 V1.1 provide a package
#
# ============================================================================
#
......@@ -117,4 +120,25 @@ sfftest: sfftest.cc all
-L$(LOCLIBDIR) $(CXXFLAGS) $(FLAGS)
tests: sfftest; $<; rm -fv $<
#======================================================================
# create package
# --------------
VERSIONCODE=$(shell date +'%Y%m%d')
PACKAGE=libsffxx$(VERSIONCODE)
PUBLICATIONPATH=$(HOME)/public_html/download/software
TMPPATH=$(HOME)/tmp/$(PACKAGE)
package:
/bin/rm -rfv $(TMPPATH); mkdir -pv $(TMPPATH)
cd $(TMPPATH)/..; cvs export -r HEAD -d $(PACKAGE) thof/src/libs/libsffxx
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 WWWBASEDIR=doxydoc; \
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 -----
# this is <Makefile.thofdevel>
# ----------------------------------------------------------------------------
# $Id: Makefile.thofdevel,v 1.2 2006-03-28 17:21:42 tforb Exp $
# $Id: Makefile.thofdevel,v 1.3 2006-03-28 18:27:00 tforb Exp $
#
# Copyright (c) 2006 by Thomas Forbriger (BFO Schiltach)
#
......@@ -32,6 +32,8 @@ TMPPATH=$(HOME)/tmp/$(PACKAGE)
package:
/bin/rm -rfv $(TMPPATH); mkdir -pv $(TMPPATH)
cd $(TMPPATH)/..; cvs export -r HEAD \
-d $(PACKAGE) thof/src/libs/tfmacros.h
cd $(TMPPATH)/..; cvs export -r HEAD \
-d $(PACKAGE)/devel thof/scr/util/devel
cd $(TMPPATH)/..; cvs export -r HEAD \
-d $(PACKAGE)/news thof/scr/util/news
......
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