xbps/Makefile
Juan RP e7e1a16784 Makefile: remove all libxbps files in uninstall target.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20090817224658-xz0rwrdc6ysf49dt
2009-08-18 00:46:58 +02:00

32 lines
544 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.*
.PHONY: clean
clean:
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir clean; \
done