Add some PHONYs to the install target in Makefiles.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20090821091758-6am9fbkvy9doooef
This commit is contained in:
Juan RP 2009-08-21 11:17:58 +02:00
parent 5b927b4759
commit 4aac305105
5 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,7 @@ install:
@echo "WARNING: Don't forget to rerun ldconfig(1)."
@echo
.PHONY: uninstall
uninstall:
-rm -f $(SBINDIR)/xbps-*
-rm -f $(LIBDIR)/libxbps.*

View File

@ -11,6 +11,7 @@ all:
clean:
-rm -f $(CONF_FILE).new
.PHONY: install
install:
if [ ! -d $(DESTDIR)$(ETCDIR) ]; then \
install -d $(DESTDIR)$(ETCDIR); \

View File

@ -26,6 +26,7 @@ $(LIBXBPS_STATIC): $(OBJECTS)
$(AR) rcs $@ $^
ranlib $@
.PHONY: install
install: $(LIBXBPS) $(LIBXBPS_STATIC)
install -d $(LIBDIR)
install -m 644 $(LIBXBPS_STATIC) $(LIBDIR)

View File

@ -17,6 +17,7 @@ clean-bins:
clean-objs:
-rm -f $(OBJS)
.PHONY: install
install: $(BIN)
install -d $(SBINDIR)
install $(INSTALL_STRIPPED) -m 755 $(BIN) $(SBINDIR)

View File

@ -6,6 +6,7 @@ all:
.PHONY: clean
clean:
.PHONY: install
install:
if [ ! -d $(DESTDIR)$(SHAREDIR) ]; then \
install -d $(DESTDIR)$(SHAREDIR); \