From 15a4fbd1cdc2cc092bafe85b8ddd8b392bdbda7d Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 17 Aug 2012 19:58:53 +0000 Subject: For the convenience of Linux package maintainers, add to Makefile.gtk and Makefile.doc a command-line parameter 'BINPREFIX' which will be prepended to all the game binary names. E.g. 'make BINPREFIX=sgt-' and 'make BINPREFIX=sgt- install', and correspondingly 'make -f Makefile.doc BINPREFIX=sgt-'. Also included in this commit by mistake, changes to singles.c to add \n to the end of all its debug() statements. I meant to commit that separately. Oops. [originally from svn r9606] --- Recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Recipe') diff --git a/Recipe b/Recipe index d8b4eb6..425f419 100644 --- 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 -- cgit v1.1