- use printf to print commands rather than echo, which it may not have support for escape sequences (-e). - Remove DESTDIR from SBINDIR, MANDIR, LIBDIR and INCLUDEDIR so that you can override it. --HG-- extra : convert_revision : xtraeme%40gmail.com-20100124125958-8mscedj5ntf288jd
		
			
				
	
	
		
			19 lines
		
	
	
		
			258 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			258 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
include ../vars.mk
 | 
						|
 | 
						|
INCS =	xbps_api.h
 | 
						|
 | 
						|
.PHONY: all
 | 
						|
all:
 | 
						|
 | 
						|
.PHONY: install
 | 
						|
install:
 | 
						|
	install -d $(DESTDIR)$(INCLUDEDIR)
 | 
						|
	install -m 644 $(INCS) $(DESTDIR)$(INCLUDEDIR)
 | 
						|
 | 
						|
.PHONY: uninstall
 | 
						|
uninstall:
 | 
						|
	-rm -f $(DESTDIR)$(INCLUDEDIR)/$(INCS)
 | 
						|
 | 
						|
.PHONY: clean
 | 
						|
clean:
 |