Add some PHONYs to the install target in Makefiles.
--HG-- extra : convert_revision : xtraeme%40gmail.com-20090821091758-6am9fbkvy9doooef
This commit is contained in:
parent
5b927b4759
commit
4aac305105
1
Makefile
1
Makefile
@ -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.*
|
||||
|
@ -11,6 +11,7 @@ all:
|
||||
clean:
|
||||
-rm -f $(CONF_FILE).new
|
||||
|
||||
.PHONY: install
|
||||
install:
|
||||
if [ ! -d $(DESTDIR)$(ETCDIR) ]; then \
|
||||
install -d $(DESTDIR)$(ETCDIR); \
|
||||
|
@ -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)
|
||||
|
1
prog.mk
1
prog.mk
@ -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)
|
||||
|
@ -6,6 +6,7 @@ all:
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
||||
.PHONY: install
|
||||
install:
|
||||
if [ ! -d $(DESTDIR)$(SHAREDIR) ]; then \
|
||||
install -d $(DESTDIR)$(SHAREDIR); \
|
||||
|
Loading…
Reference in New Issue
Block a user