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

new include rules

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: 2041
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 7c31f277
# this is <Makefile> # this is <Makefile>
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
# $Id: Makefile,v 1.16 2006-03-28 18:26:59 tforb Exp $ # $Id: Makefile,v 1.17 2006-03-29 07:32:12 tforb Exp $
# #
# Copyright (c) 2003 by Thomas Forbriger (BFO Schiltach) # Copyright (c) 2003 by Thomas Forbriger (BFO Schiltach)
# #
...@@ -79,7 +79,18 @@ libsffxx.a: $(patsubst %.cc,%.o,$(LIBSRC)) ...@@ -79,7 +79,18 @@ libsffxx.a: $(patsubst %.cc,%.o,$(LIBSRC))
ranlib $@ ranlib $@
newlib $@ newlib $@
install-include: ; newinclude $(INCSRC) #----------------------------------------------------------------------
# header files
# ------------
INCINSTALLPATH=$(LOCINCLUDEDIR)
INSTHEADER=$(addprefix $(INCINSTALLPATH)/,$(notdir $(INCSRC)))
$(INCINSTALLPATH)/%.h: %.h
mkdir -p $(INCINSTALLPATH)
-rm -fv $@
ln -svf $$(pwd)/$< $@
install-include: $(INSTHEADER); touch $@
#====================================================================== #======================================================================
# documentation part # documentation part
...@@ -135,10 +146,12 @@ package: ...@@ -135,10 +146,12 @@ package:
-d $(PACKAGE) thof/src/README.compile -d $(PACKAGE) thof/src/README.compile
/bin/bash -c 'cd $(TMPPATH); \ /bin/bash -c 'cd $(TMPPATH); \
export WWWBASEDIR=doxydoc; \ export WWWBASEDIR=doxydoc; \
make all; make clean' mkdir -v inctmp; \
make INCINSTALLPATH=inctmp all; make clean; /bin/rm -rfv inctmp'
cd $(TMPPATH)/..; tar cvf $(PUBLICATIONPATH)/$(PACKAGE).tar $(PACKAGE) cd $(TMPPATH)/..; tar cvf $(PUBLICATIONPATH)/$(PACKAGE).tar $(PACKAGE)
gzip --force -9 $(PUBLICATIONPATH)/$(PACKAGE).tar gzip --force -9 $(PUBLICATIONPATH)/$(PACKAGE).tar
cd $(TMPPATH)/..; tar cvf $(PUBLICATIONPATH)/$(PACKAGE).tar $(PACKAGE) cd $(TMPPATH)/..; tar cvf $(PUBLICATIONPATH)/$(PACKAGE).tar $(PACKAGE)
bzip2 -f $(PUBLICATIONPATH)/$(PACKAGE).tar bzip2 -f $(PUBLICATIONPATH)/$(PACKAGE).tar
$(MAKE) install
# ----- END OF Makefile ----- # ----- 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