apk-tools/Makefile

41 lines
573 B
Makefile
Raw Normal View History

##
# Building apk-tools
-include config.mk
PACKAGE := apk-tools
2011-05-23 13:29:21 +00:00
VERSION := 2.1.0
##
# 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
2010-03-06 19:07:38 +00:00
LUA_LIBDIR := /usr/lib/lua/5.1
2010-03-06 19:07:38 +00:00
export DESTDIR SBINDIR LIBDIR CONFDIR MANDIR DOCDIR LUA_LIBDIR
##
# 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