Install the xbps_api.h header.
--HG-- extra : convert_revision : xtraeme%40gmail.com-20100113183225-gz8xn8fa5hp2vdan
This commit is contained in:
parent
05bad9c0d5
commit
27dd304d76
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
||||
include vars.mk
|
||||
|
||||
SUBDIRS = lib bin
|
||||
SUBDIRS = include lib bin
|
||||
|
||||
.PHONY: all
|
||||
all:
|
||||
|
@ -18,8 +18,8 @@ install:
|
||||
|
||||
.PHONY: uninstall
|
||||
uninstall:
|
||||
@for bin in $(SUBDIRS); do \
|
||||
-rm -f $(SBINDIR)/$$bin; \
|
||||
@for dir in $(SUBDIRS); do \
|
||||
$(MAKE) -C $$dir uninstall || exit1; \
|
||||
done
|
||||
|
||||
.PHONY: clean
|
||||
|
18
include/Makefile
Normal file
18
include/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
include ../vars.mk
|
||||
|
||||
INCS = xbps_api.h
|
||||
|
||||
.PHONY: all
|
||||
all:
|
||||
|
||||
.PHONY: install
|
||||
install:
|
||||
install -d $(INCLUDEDIR)
|
||||
install -m 644 $(INCS) $(INCLUDEDIR)
|
||||
|
||||
.PHONY: uninstall
|
||||
uninstall:
|
||||
-rm -f $(INCLUDEDIR)/$(INCS)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
Loading…
Reference in New Issue
Block a user