Commit 9cfce8b5 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: 2043
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent cc66f865
# this is <Makefile>
# ----------------------------------------------------------------------------
# $Id: Makefile,v 1.15 2005-07-18 11:32:41 tforb Exp $
# $Id: Makefile,v 1.16 2006-03-29 07:39:39 tforb Exp $
#
# Copyright (c) 2003 by Thomas Forbriger (BFO Schiltach)
#
......@@ -8,6 +8,7 @@
#
# REVISIONS and CHANGES
# 18/12/2003 V1.0 Thomas Forbriger
# 29/03/2006 V1.1 provide package creation target
#
# ============================================================================
......@@ -142,4 +143,29 @@ tstest: tstest.cc
$(CXX) -o $@ $< -I$(LOCINCLUDEDIR) -ltsxx -laff -L$(LOCLIBDIR)
tests: tstest; $<; rm -fv $<
#======================================================================
# create package
# --------------
LIBRARYNAME=libtsxx
VERSIONCODE=$(shell date +'%Y%m%d')
PACKAGE=$(LIBRARYNAME)$(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/$(LIBRARYNAME)
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; \
mkdir -v inctmp; \
make INCINSTALLPATH=inctmp all; make clean; /bin/rm -rfv inctmp'
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
$(MAKE) install
# ----- 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