$(STRIP) $(PROG)
install: $(PROG) $(MAN) $(SCRIPTS)
- $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/usr/games/$(PROG)
- $(GINSTALL) -Dm755 $(SCRIPTS) $(DESTDIR)/usr/games/$(basename $(SCRIPTS))
- $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/usr/share/man/man6/$(MAN)
- $(LN) -sf $(MAN).zst $(DESTDIR)/usr/share/man/man6/rot13.6
+ $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
+ $(GINSTALL) -Dm755 $(SCRIPTS) $(DESTDIR)/$(PREFIX)/games/$(basename $(SCRIPTS))
+ $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN)
+ $(LN) -sf $(MAN).zst $(DESTDIR)/$(PREFIX)/share/man/man6/rot13.6
clean:
rm -f $(CLEANFILES) $(PROG)