summaryrefslogblamecommitdiff
path: root/Makefile
blob: b2a3ad17575b19e84e328eb3a39edc60c4e239ca (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                    
 

                  
                    
                
 

                     
 

                        
                       


                                     
                                   
 
                                                              
 

                             
 
                       
 

                             
 
                  
 

                   
 
        


                                             



                           

                            
##
# Building apk-tools

-include config.mk

PACKAGE := apk-tools
VERSION := 2.3.5

##
# Default directories

DESTDIR		:=
SBINDIR		:= /sbin
LIBDIR		:= /lib
CONFDIR		:= /etc/apk
MANDIR		:= /usr/share/man
DOCDIR		:= /usr/share/doc/apk
LUA_LIBDIR	:= /usr/lib/lua/5.1

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)

test: FORCE
	$(Q)$(MAKE) TEST=y
	$(Q)$(MAKE) -C test

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