Bah, fix these stupid make targets.
--HG-- extra : convert_revision : xtraeme%40gmail.com-20091030163209-td7vxbq5vkxva5zc
This commit is contained in:
parent
5b6724b550
commit
10f2bef7cb
@ -46,10 +46,11 @@ install: all
|
||||
install -d $(LIBDIR)
|
||||
ifdef STATIC
|
||||
install -m 644 libxbps.a $(LIBDIR)
|
||||
endif
|
||||
else
|
||||
install -m 644 $(LIBXBPS_SHLIB) $(LIBDIR)
|
||||
cp -a libxbps.so $(LIBDIR)
|
||||
cp -a libxbps.so.$(LIBMAJOR) $(LIBDIR)
|
||||
endif
|
||||
|
||||
.PHONY: uninstall
|
||||
uninstall:
|
||||
|
6
prog.mk
6
prog.mk
@ -3,6 +3,7 @@ MAN ?= $(BIN).8
|
||||
|
||||
ifdef STATIC
|
||||
all: $(BIN).static
|
||||
MAN =
|
||||
else
|
||||
LDFLAGS = -lxbps
|
||||
all: $(BIN) $(MAN)
|
||||
@ -26,10 +27,11 @@ clean:
|
||||
-rm -f $(OBJS)
|
||||
|
||||
.PHONY: install
|
||||
install: $(BIN) $(MAN)
|
||||
install: all
|
||||
install -d $(SBINDIR)
|
||||
ifndef STATIC
|
||||
install $(INSTALL_STRIPPED) -m 755 $(BIN) $(SBINDIR)
|
||||
ifdef STATIC
|
||||
else
|
||||
install $(INSTALL_STRIPPED) -m 755 $(BIN).static $(SBINDIR)
|
||||
endif
|
||||
ifdef MAN
|
||||
|
Loading…
Reference in New Issue
Block a user