summaryrefslogtreecommitdiffstats
path: root/ching/ching/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ching/ching/Makefile')
-rw-r--r--ching/ching/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/ching/ching/Makefile b/ching/ching/Makefile
index cd5d7eff..e5d4d263 100644
--- a/ching/ching/Makefile
+++ b/ching/ching/Makefile
@@ -4,13 +4,13 @@ SCRIPTS=ching.sh
MAN= ching.6
FILES= hexagrams macros
-FILESDIR=/usr/share/games/ching
+FILESDIR=$(PREFIX)/share/games/ching
all:
install: $(PROG) $(MAN) $(SCRIPTS)
- $(GINSTALL) -Dm755 $(SCRIPTS) $(DESTDIR)/usr/games/$(basename $(SCRIPTS))
- $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/usr/share/man/man6/$(MAN)
+ $(GINSTALL) -Dm755 $(SCRIPTS) $(DESTDIR)/$(PREFIX)/games/$(basename $(SCRIPTS))
+ $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN)
$(GINSTALL) -d $(DESTDIR)$(FILESDIR)
$(GINSTALL) -Dm644 $(FILES) $(DESTDIR)$(FILESDIR)