diff options
| author | Cameron Katri <me@cameronkatri.com> | 2021-03-28 14:39:02 -0400 |
|---|---|---|
| committer | Cameron Katri <me@cameronkatri.com> | 2021-03-28 14:39:02 -0400 |
| commit | 23454acb66be2a88647262d98d50e0f115519ea0 (patch) | |
| tree | c593751ce3649be2e502fac3e080d6c0045b9fa0 /robots/Makefile | |
| parent | 08eca96e71d96ad1f8e9b888875ab5570f208d19 (diff) | |
| download | bsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.tar.gz bsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.zip | |
Use PREFIX now
Diffstat (limited to 'robots/Makefile')
| -rw-r--r-- | robots/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/robots/Makefile b/robots/Makefile index 293ea7d8..eb71c00a 100644 --- a/robots/Makefile +++ b/robots/Makefile @@ -10,13 +10,13 @@ MAN= robots.6 all: $(PROG) $(PROG): $(SRCS) - $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRCS) -lncursesw + $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRCS) -lncursesw -I$(ROOT) $(STRIP) $(PROG) install: $(PROG) $(MAN) - $(GINSTALL) -Dm2755 $(PROG) $(DESTDIR)/usr/games/$(PROG) - $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/usr/share/man/man6/$(MAN) - $(GINSTALL) -d $(DESTDIR)/var/games + $(GINSTALL) -Dm2755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG) + $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN) + $(GINSTALL) -d $(DESTDIR)/$(LOCALSTATEDIR)/games clean: rm -f $(CLEANFILES) $(PROG) |
