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

make it even more precise (directory creation and installation of

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.
binaries)


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 4501
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 1854f4ca
......@@ -25,8 +25,8 @@ all: install
.PHONY: install
install: $(addprefix $(LOCBINDIR)/,$(PROGRAMS))
$(LOCBINDIR)/%: %
mkdir -pv $(LOCBINDIR)
/bin/mv -fv $< $(LOCBINDIR)
mkdir -pv $(dir $@)
/bin/mv -fv $< $@
#
# This is the sequence of standard targets
......@@ -171,8 +171,8 @@ LIBRARIES=libaff.a libdatrwxx.so
.PHONY: install
install: $(addprefix $(LOCLIBDIR)/,$(LIBRARIES))
$(LOCLIBDIR)/%: install-include %
mkdir -pv $(LOCLIBDIR)
/bin/mv -fv $(word 2,$^) $(LOCLIBDIR)
mkdir -pv $(dir $@)
/bin/mv -fv $(word 2,$^) $@
# install-include where no header files are to be installed
.PHONY: install-include
......
......@@ -66,14 +66,14 @@ install: installlibs installbin
.PHONY: installbin
installbin: $(addprefix $(LOCBINDIR)/,$(PROGRAMS))
$(LOCBINDIR)/%: %
mkdir -pv $(LOCBINDIR)
/bin/mv -fv $< $(LOCBINDIR)
mkdir -pv $(dir $@)
/bin/mv -fv $< $@
.PHONY: installlibs
installlibs: $(addprefix $(LOCLIBDIR)/,$(LIBRARIES))
$(LOCLIBDIR)/%: install-include %
mkdir -pv $(LOCLIBDIR)
/bin/mv -fv $(word 2,$^) $(LOCLIBDIR)
mkdir -pv $(dir $@)
/bin/mv -fv $(word 2,$^) $@
# ============================================================================
#
......
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