blob: 1cee5bbc7d0bd3083cc282417770626cd2d9aa44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
all: usage
usage:
@echo "make install PREFIX=/somewhere"
@echo ""
@echo "Will install the makefiles, and test tools into $PREFIX/share/netsurf-buildsystem"
@echo ""
@echo "Which is where the libraries etc look for it."
PREFIX?=/opt/netsurf
BASE=$(PREFIX)/share/netsurf-buildsystem
MAKEFILES := $(patsubst %,Makefile.%, \
top tools subdir pkgconfig \
clang gcc norcroft open64 \
)
TESTTOOLS := testrunner.pl
install:
mkdir -p $(BASE)/makefiles $(BASE)/testtools
for M in $(MAKEFILES); do \
cp makefiles/$$M $(BASE)/makefiles/; \
done
for T in $(TESTTOOLS); do \
cp testtools/$$T $(BASE)/testtools/; \
done
|