summaryrefslogtreecommitdiffstats
path: root/hunt/huntd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hunt/huntd/Makefile')
-rw-r--r--hunt/huntd/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/hunt/huntd/Makefile b/hunt/huntd/Makefile
index c90d71db..385bb5b2 100644
--- a/hunt/huntd/Makefile
+++ b/hunt/huntd/Makefile
@@ -8,12 +8,12 @@ MAN= huntd.6
all: $(PROG)
$(PROG): $(SRCS)
- $(CC) $(CFLAGS) -o $(PROG) $(SRCS) $(EXTRADEFS) -I../include
+ $(CC) $(CFLAGS) -o $(PROG) $(SRCS) $(EXTRADEFS) -I../include -I$(ROOT)
$(STRIP) $(PROG)
install: $(PROG) $(MAN)
- $(GINSTALL) -Dm2755 $(PROG) $(DESTDIR)/usr/games/$(PROG)
- $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/usr/share/man/man6/$(MAN)
+ $(GINSTALL) -Dm2755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
+ $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN)
clean:
rm -f $(CLEANFILES) $(PROG)