c86be9931b
--HG-- extra : convert_revision : d6550a3d9e6093cb1ec789715e2b1107b9bb59bd
31 lines
546 B
Makefile
31 lines
546 B
Makefile
include vars.mk
|
|
|
|
SUBDIRS = lib bin etc
|
|
|
|
.PHONY: all
|
|
all:
|
|
for dir in $(SUBDIRS); do \
|
|
$(MAKE) -C $$dir; \
|
|
done
|
|
|
|
.PHONY: install
|
|
install:
|
|
for dir in $(SUBDIRS); do \
|
|
$(MAKE) -C $$dir install; \
|
|
done
|
|
@echo
|
|
@echo "Binaries have been installed into $(SBINDIR)."
|
|
@echo "Librares have been installed into $(LIBDIR)."
|
|
@echo
|
|
@echo "WARNING: Don't forget to rerun ldconfig(1)."
|
|
@echo
|
|
|
|
uninstall:
|
|
-rm -f $(SBINDIR)/xbps-*
|
|
-rm -f $(LIBDIR)/libxbps.so*
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
for dir in $(SUBDIRS); do \
|
|
$(MAKE) -C $$dir clean; \
|
|
done
|