Commit 39870dde authored by Matthias Braun's avatar Matthias Braun
Browse files

Makefile: Actually use the INSTALL variable

parent 04580e62
......@@ -181,13 +181,13 @@ PREFIX ?= /usr/local
INSTALL ?= install
INSTALLPREFIX = $(DESTDIR)$(PREFIX)
install: $(libfirm_a)
install -d "$(INSTALLPREFIX)/include/libfirm"
install -m0644 include/libfirm/*.h "$(INSTALLPREFIX)/include/libfirm"
install -m0644 "$(gendir)"/include/libfirm/*.h "$(INSTALLPREFIX)/include/libfirm"
install -d "$(INSTALLPREFIX)/include/libfirm/adt"
install -m0644 include/libfirm/adt/*.h "$(INSTALLPREFIX)/include/libfirm/adt"
install -d "$(INSTALLPREFIX)/lib"
install -m0644 $< "$(INSTALLPREFIX)/lib"
$(INSTALL) -d "$(INSTALLPREFIX)/include/libfirm"
$(INSTALL) -m0644 include/libfirm/*.h "$(INSTALLPREFIX)/include/libfirm"
$(INSTALL) -m0644 "$(gendir)"/include/libfirm/*.h "$(INSTALLPREFIX)/include/libfirm"
$(INSTALL) -d "$(INSTALLPREFIX)/include/libfirm/adt"
$(INSTALL) -m0644 include/libfirm/adt/*.h "$(INSTALLPREFIX)/include/libfirm/adt"
$(INSTALL) -d "$(INSTALLPREFIX)/lib"
$(INSTALL) -m0644 $< "$(INSTALLPREFIX)/lib"
# Ensure all output directories are created
UNUSED1 := $(shell mkdir -p $(libfirm_BUILDDIRS))
......
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