apk-tools/Makefile

44 lines
591 B
Makefile
Raw Normal View History

##
# Building apk-tools
-include config.mk
PACKAGE := apk-tools
2017-04-28 14:51:55 +00:00
VERSION := 2.7.1
##
# Default directories
DESTDIR :=
SBINDIR := /sbin
2010-03-05 08:13:25 +00:00
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 := src/
##
# Include all rules and stuff
include Make.rules
##
# Top-level targets
install:
$(INSTALLDIR) $(DESTDIR)$(DOCDIR)
$(INSTALL) README $(DESTDIR)$(DOCDIR)
2017-02-27 06:47:52 +00:00
check test: FORCE
$(Q)$(MAKE) TEST=y
$(Q)$(MAKE) -C test
static:
$(Q)$(MAKE) STATIC=y