install using fakeroot only when component requests it
[matrix.git] / scripts / styles / make.mk
1 # Copyright (C) 2008 Movial Oy
2 # Authors: Timo Savola <tsavola@movial.fi>
3
4 __MATRIX_BUILD_STYLE_LOADED=1
5
6 MATRIX_ARGS             ?= prefix=/usr PREFIX=/usr
7 MATRIX_BUILD_ARGS       ?= $(MATRIX_ARGS)
8 MATRIX_INSTALL_ARGS     ?= $(MATRIX_ARGS)
9
10 __matrix_build:
11         @$(CCTOOL_BUILD) $(MAKE) $(MATRIX_BUILD_ARGS)
12
13 __matrix_install:
14         @$(FAKEROOT_INSTALL) $(CCTOOL_INSTALL) $(MAKE) $(MATRIX_INSTALL_ARGS) install
15
16 .PHONY: __matrix_build __matrix_install