For the convenience of Linux package maintainers, add to Makefile.gtk
[sgt/puzzles] / Recipe
diff --git a/Recipe b/Recipe
index d8b4eb6..425f419 100644 (file)
--- a/Recipe
+++ b/Recipe
@@ -177,7 +177,7 @@ version2.def: FORCE
 !begin gtk
 install:
        for i in $(GAMES); do \
-               $(INSTALL_PROGRAM) -m 755 $$i $(DESTDIR)$(gamesdir)/$$i \
+               $(INSTALL_PROGRAM) -m 755 $(BINPREFIX)$$i $(DESTDIR)$(gamesdir)/$(BINPREFIX)$$i \
                || exit 1; \
        done
 !end