summaryrefslogtreecommitdiff
path: root/Makefile
blob: 74d997ce3c4a1b67f4ea8d4a315b251d0a3d473f (plain) (blame)
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
30
31
32
33
34
35
36
37
##
# Building apk-tools

PACKAGE := apk-tools
TAGPREFIX := $(PACKAGE)-
VERSION := 2.0_pre15

##
# Default directories

DESTDIR		:=
SBINDIR		:= /sbin
CONFDIR		:= /etc/apk
MANDIR		:= /usr/share/man
DOCDIR		:= /usr/share/doc/apk

export DESTDIR SBINDIR CONFDIR MANDIR DOCDIR

##
# Top-level rules and targets

targets		:= src/

##
# Include all rules and stuff

include Make.rules

##
# Top-level targets

install::
	$(INSTALLDIR) $(DESTDIR)$(DOCDIR)
	$(INSTALL) README $(DESTDIR)$(DOCDIR)

static:
	$(Q)$(MAKE) STATIC=y