xbps/Makefile
Juan RP 6798be2f58 Makefile: remove $(SHAREDIR) in uninstall target.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20091015222115-gosfgymdsk4gswk0
2009-10-16 00:21:15 +02:00

34 lines
592 B
Makefile

include vars.mk
SUBDIRS = lib bin etc shutils
.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
.PHONY: uninstall
uninstall:
-rm -f $(SBINDIR)/xbps-*
-rm -f $(LIBDIR)/libxbps.*
-rm -f $(SHAREDIR)/*
.PHONY: clean
clean:
for dir in $(SUBDIRS); do \
$(MAKE) -C $$dir clean; \
done