# HG changeset patch # User Colin Walters # Date 1018465544 0 # Node ID 530aa7c15820f0bf8c5c033bea52864c842c58f5 # Parent 5eb5e6c99de402290d55882f6c7e7b9c6e76a319 (gamedir, gameuser): New variables. (toplevel, UTILITIES): Add update-game-score. (${archlibdir}): Handle HAVE_SHARED_GAME_DIR. diff -r 5eb5e6c99de4 -r 530aa7c15820 lib-src/Makefile.in --- a/lib-src/Makefile.in Wed Apr 10 19:04:08 2002 +0000 +++ b/lib-src/Makefile.in Wed Apr 10 19:05:44 2002 +0000 @@ -82,6 +82,9 @@ # to `../configure'. archlibdir=@archlibdir@ +gamedir=@gamedir@ +gameuser=@gameuser@ + # ==================== Utility Programs for the Build ================= # ../configure figures out the correct values for these. @@ -100,8 +103,8 @@ # Things that Emacs runs internally, or during the build process, # which should not be installed in bindir. -UTILITIES= profile digest-doc \ - sorted-doc movemail cvtmail fakemail yow emacsserver hexl +UTILITIES= profile digest-doc sorted-doc movemail cvtmail fakemail \ + yow emacsserver hexl update-game-score DONT_INSTALL= test-distrib make-docfile @@ -288,6 +291,17 @@ $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file ${archlibdir}/$$file ; \ done ; \ fi +#ifdef HAVE_SHARED_GAME_DIR + chown ${gameuser} ${archlibdir}/update-game-score + chmod u+s ${archlibdir}/update-game-score + $(top_srcdir)/mkinstalldirs ${gamedir} + chown ${gameuser} ${gamedir} + chmod u=rwx,g=rwx,o=rx ${gamedir} +/* If you change these, be sure to change the variables in + lisp/play/{tetris,snake}.el. */ + touch ${gamedir}/snake-scores + touch ${gamedir}/tetris-scores +#endif if [ `(cd ${archlibdir} && /bin/pwd)` \ != `(cd ${srcdir} && /bin/pwd)` ]; then \ for file in ${SCRIPTS}; do \ @@ -430,6 +444,9 @@ hexl: ${srcdir}/hexl.c ../src/config.h $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl +update-game-score: ${srcdir}/update-game-score.c ../src/config.h + $(CC) ${ALL_CFLAGS} ${srcdir}/update-game-score.c $(LOADLIBES) -o update-game-score + /* These are NOT included in INSTALLABLES or UTILITIES. See ../src/Makefile.in. */ emacstool: ${srcdir}/emacstool.c