Makefile 518 Bytes
Newer Older
1 2
##
# Building apk-tools
3

4
PACKAGE := apk-tools
5
TAGPREFIX := $(PACKAGE)-
Timo Teräs's avatar
Timo Teräs committed
6
VERSION := 2.0_pre12
7

8 9
##
# Default directories
10

11 12 13 14 15
DESTDIR		:=
SBINDIR		:= /sbin
CONFDIR		:= /etc/apk
MANDIR		:= /usr/share/man
DOCDIR		:= /usr/share/doc/apk
16

17
export DESTDIR SBINDIR CONFDIR MANDIR DOCDIR
18

19 20
##
# Top-level rules and targets
21

22
targets		:= src/
23

24 25
##
# Include all rules and stuff
26

27
include Make.rules
28

29 30
##
# Top-level targets
31 32 33 34 35

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

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