apk-tools/Makefile

38 lines
518 B
Makefile

##
# Building apk-tools
PACKAGE := apk-tools
TAGPREFIX := $(PACKAGE)-
VERSION := 2.0_pre12
##
# 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