blob: e8892fda051a9068487c95b022a390093a5d43d5 (
plain) (
tree)
|
|
##
# Building apk-tools
-include config.mk
PACKAGE := apk-tools
VERSION := 2.7.1
##
# Default directories
DESTDIR :=
SBINDIR := /sbin
LIBDIR := /lib
CONFDIR := /etc/apk
MANDIR := /usr/share/man
DOCDIR := /usr/share/doc/apk
export DESTDIR SBINDIR LIBDIR CONFDIR MANDIR DOCDIR
##
# Top-level rules and targets
targets := libfetch/ src/
##
# Include all rules and stuff
include Make.rules
##
# Top-level targets
install:
$(INSTALLDIR) $(DESTDIR)$(DOCDIR)
$(INSTALL) README $(DESTDIR)$(DOCDIR)
check test: FORCE
$(Q)$(MAKE) TEST=y
$(Q)$(MAKE) -C test
static:
$(Q)$(MAKE) STATIC=y
src/: libfetch/
|