1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
Description: Change install prefix from /usr/local/bin to /usr/bin
Origin: Debian
Forwarded: not-needed
---
---
Makefile | 14 -------
1 file changed, 7 insertions( ), 7 deletions(-)
--- clxclient.orig/Makefile
clxclient/Makefile
@@ -21,9 21,9 @@
# Modify as required.
#
-PREFIX = /usr/local
PREFIX ?= /usr/local
SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
-LIBDIR = lib$(SUFFIX)
LIBDIR ?= lib$(SUFFIX)
MAJVERS = 3
@@ -50,11 50,11 @@ $(CLXCLIENT_MIN): $(CLXCLIENT_O)
install: $(CLXCLIENT_MIN)
- install -d $(PREFIX)/$(LIBDIR)
- install -m 644 $(CLXCLIENT_H) $(PREFIX)/include
- install -m 755 $(CLXCLIENT_MIN) $(PREFIX)/$(LIBDIR)
- ldconfig
- ln -sf $(CLXCLIENT_MIN) $(PREFIX)/$(LIBDIR)/$(CLXCLIENT_SO)
install -d $(DESTDIR)$(PREFIX)/$(LIBDIR)
install -d $(DESTDIR)$(PREFIX)/include
install -m 644 $(CLXCLIENT_H) $(DESTDIR)$(PREFIX)/include
install -m 755 $(CLXCLIENT_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)
ln -sf $(CLXCLIENT_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(CLXCLIENT_SO)
clean:
|