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

package target

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: 2045
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 76ffcedf
# this is <Makefile>
# ----------------------------------------------------------------------------
# $Id: Makefile,v 1.24 2006-03-28 16:07:41 tforb Exp $
# $Id: Makefile,v 1.25 2006-03-29 07:44:29 tforb Exp $
#
# Copyright (c) 2004 by Thomas Forbriger (BFO Schiltach)
#
......@@ -177,4 +177,29 @@ hpmotest mseedtest pdastest: %: tests/%.o libdatreadxx.a
-L$(LOCLIBDIR)
newprog $@
#======================================================================
# create package
# --------------
LIBRARYNAME=libdatreadxx
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 -----
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