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 "WARNING: Don't forget to rerun ldconfig(1)."
|
||||||
@echo
|
@echo
|
||||||
|
|
||||||
|
.PHONY: uninstall
|
||||||
uninstall:
|
uninstall:
|
||||||
-rm -f $(SBINDIR)/xbps-*
|
-rm -f $(SBINDIR)/xbps-*
|
||||||
-rm -f $(LIBDIR)/libxbps.*
|
-rm -f $(LIBDIR)/libxbps.*
|
||||||
|
@ -11,6 +11,7 @@ all:
|
|||||||
clean:
|
clean:
|
||||||
-rm -f $(CONF_FILE).new
|
-rm -f $(CONF_FILE).new
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
if [ ! -d $(DESTDIR)$(ETCDIR) ]; then \
|
if [ ! -d $(DESTDIR)$(ETCDIR) ]; then \
|
||||||
install -d $(DESTDIR)$(ETCDIR); \
|
install -d $(DESTDIR)$(ETCDIR); \
|
||||||
|
@ -26,6 +26,7 @@ $(LIBXBPS_STATIC): $(OBJECTS)
|
|||||||
$(AR) rcs $@ $^
|
$(AR) rcs $@ $^
|
||||||
ranlib $@
|
ranlib $@
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install: $(LIBXBPS) $(LIBXBPS_STATIC)
|
install: $(LIBXBPS) $(LIBXBPS_STATIC)
|
||||||
install -d $(LIBDIR)
|
install -d $(LIBDIR)
|
||||||
install -m 644 $(LIBXBPS_STATIC) $(LIBDIR)
|
install -m 644 $(LIBXBPS_STATIC) $(LIBDIR)
|
||||||
|
1
prog.mk
1
prog.mk
@ -17,6 +17,7 @@ clean-bins:
|
|||||||
clean-objs:
|
clean-objs:
|
||||||
-rm -f $(OBJS)
|
-rm -f $(OBJS)
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install: $(BIN)
|
install: $(BIN)
|
||||||
install -d $(SBINDIR)
|
install -d $(SBINDIR)
|
||||||
install $(INSTALL_STRIPPED) -m 755 $(BIN) $(SBINDIR)
|
install $(INSTALL_STRIPPED) -m 755 $(BIN) $(SBINDIR)
|
||||||
|
@ -6,6 +6,7 @@ all:
|
|||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
if [ ! -d $(DESTDIR)$(SHAREDIR) ]; then \
|
if [ ! -d $(DESTDIR)$(SHAREDIR) ]; then \
|
||||||
install -d $(DESTDIR)$(SHAREDIR); \
|
install -d $(DESTDIR)$(SHAREDIR); \
|
||||||
|
Loading…
Reference in New Issue
Block a user