summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.in26
1 files changed, 17 insertions, 9 deletions
diff --git a/Makefile.in b/Makefile.in
index 1bc932b..298a7ae 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -23,7 +23,7 @@ INSTALL = @install@
SRCDIR = @srcdir@
PREFIX = @prefix@
-SBINDIR = @sbindir@
+BINDIR = @bindir@
.PHONY: all
all:
@@ -33,14 +33,22 @@ clean:
.PHONY: install
install: all
- $(INSTALL) "$(SRCDIR)/src/opkbuild" "$(BINDIR)/opkbuild"
- $(INSTALL) "$(SRCDIR)/src/oh-strip" "$(BINDIR)/oh-strip"
- $(INSTALL) "$(SRCDIR)/src/oh-installfiles" "$(BINDIR)/oh-installfiles"
- $(INSTALL) "$(SRCDIR)/src/oh-buildopk" "$(BINDIR)/oh-buildopk"
+ @printf ' INSTALL src/opkbuild\n'
+ @$(INSTALL) -D "$(SRCDIR)/src/opkbuild" "$(DESTDIR)/$(BINDIR)/opkbuild"
+ @printf ' INSTALL src/oh-strip\n'
+ @$(INSTALL) -D "$(SRCDIR)/src/oh-strip" "$(DESTDIR)/$(BINDIR)/oh-strip"
+ @printf ' INSTALL src/oh-installfiles\n'
+ @$(INSTALL) -D "$(SRCDIR)/src/oh-installfiles" "$(DESTDIR)/$(BINDIR)/oh-installfiles"
+ @printf ' INSTALL src/oh-buildopk\n'
+ @$(INSTALL) -D "$(SRCDIR)/src/oh-buildopk" "$(DESTDIR)/$(BINDIR)/oh-buildopk"
.PHONY: uninstall
uninstall:
- rm "$(BINDIR)/opkbuild"
- rm "$(BINDIR)/oh-strip"
- rm "$(BINDIR)/oh-installfiles"
- rm "$(BINDIR)/oh-buildopk"
+ @printf ' RM opkbuild\n'
+ @rm "$(DESTDIR)/$(BINDIR)/opkbuild"
+ @printf ' RM oh-strip\n'
+ @rm "$(DESTDIR)/$(BINDIR)/oh-strip"
+ @printf ' RM oh-installfiles\n'
+ @rm "$(DESTDIR)/$(BINDIR)/oh-installfiles"
+ @printf ' RM oh-buildopk\n'
+ @rm "$(DESTDIR)/$(BINDIR)/oh-buildopk"