I'm sick of not having a `make install' target.

[originally from svn r5973]
This commit is contained in:
Simon Tatham
2005-06-18 08:36:52 +00:00
parent f22f31196b
commit d74d3f26d8
2 changed files with 10 additions and 0 deletions

9
Recipe
View File

@ -135,3 +135,12 @@ FORCE:
fi
!end
!specialobj osx version
# make install for Unix.
!begin gtk
install:
for i in cube net netslide fifteen sixteen twiddle \
pattern rect solo mines samegame flip; do \
$(INSTALL_PROGRAM) -m 755 $$i $(DESTDIR)$(gamesdir)/$$i; \
done
!end

View File

@ -894,6 +894,7 @@ if (defined $makefiles{'gtk'}) {
"prefix=/usr/local\n",
"exec_prefix=\$(prefix)\n",
"bindir=\$(exec_prefix)/bin\n",
"gamesdir=\$(exec_prefix)/games\n",
"mandir=\$(prefix)/man\n",
"man1dir=\$(mandir)/man1\n",
"\n".