summaryrefslogtreecommitdiffstats
path: root/ching/castching/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ching/castching/Makefile')
-rw-r--r--ching/castching/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/ching/castching/Makefile b/ching/castching/Makefile
index 905a9e32..6bdfcf94 100644
--- a/ching/castching/Makefile
+++ b/ching/castching/Makefile
@@ -2,7 +2,7 @@
PROG= castching
SRCS= castching.c
-BINDIR= /usr/libexec/ching
+BINDIR= $(PREFIX)/libexec/ching
all: $(PROG)
@@ -11,7 +11,7 @@ $(PROG): $(SRCS)
$(STRIP) $(PROG)
install: $(PROG)
- $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/usr/libexec/ching/$(PROG)
+ $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/$(BINDIR)/$(PROG)
clean:
rm -f $(CLEANFILES) $(PROG)