diff options
| author | Colin Walters | 2002-04-10 19:05:44 +0000 |
|---|---|---|
| committer | Colin Walters | 2002-04-10 19:05:44 +0000 |
| commit | 1ba1fb11c0d8516249894ac08396152c3e1cd009 (patch) | |
| tree | bb70d17dc6dfcffb7e62e7b3ffa5c38f8629147a /lib-src | |
| parent | 93c05c18ddfb987f7e9d542617a325b9958ed547 (diff) | |
| download | emacs-1ba1fb11c0d8516249894ac08396152c3e1cd009.tar.gz emacs-1ba1fb11c0d8516249894ac08396152c3e1cd009.zip | |
(gamedir, gameuser): New variables.
(toplevel, UTILITIES): Add update-game-score.
(${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/Makefile.in | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index 20067cb8a91..6c20b857f64 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in | |||
| @@ -82,6 +82,9 @@ top_srcdir=@top_srcdir@ | |||
| 82 | # to `../configure'. | 82 | # to `../configure'. |
| 83 | archlibdir=@archlibdir@ | 83 | archlibdir=@archlibdir@ |
| 84 | 84 | ||
| 85 | gamedir=@gamedir@ | ||
| 86 | gameuser=@gameuser@ | ||
| 87 | |||
| 85 | # ==================== Utility Programs for the Build ================= | 88 | # ==================== Utility Programs for the Build ================= |
| 86 | 89 | ||
| 87 | # ../configure figures out the correct values for these. | 90 | # ../configure figures out the correct values for these. |
| @@ -100,8 +103,8 @@ INSTALLABLE_SCRIPTS = rcs-checkin grep-changelog | |||
| 100 | 103 | ||
| 101 | # Things that Emacs runs internally, or during the build process, | 104 | # Things that Emacs runs internally, or during the build process, |
| 102 | # which should not be installed in bindir. | 105 | # which should not be installed in bindir. |
| 103 | UTILITIES= profile digest-doc \ | 106 | UTILITIES= profile digest-doc sorted-doc movemail cvtmail fakemail \ |
| 104 | sorted-doc movemail cvtmail fakemail yow emacsserver hexl | 107 | yow emacsserver hexl update-game-score |
| 105 | 108 | ||
| 106 | DONT_INSTALL= test-distrib make-docfile | 109 | DONT_INSTALL= test-distrib make-docfile |
| 107 | 110 | ||
| @@ -288,6 +291,17 @@ ${archlibdir}: all | |||
| 288 | $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file ${archlibdir}/$$file ; \ | 291 | $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file ${archlibdir}/$$file ; \ |
| 289 | done ; \ | 292 | done ; \ |
| 290 | fi | 293 | fi |
| 294 | #ifdef HAVE_SHARED_GAME_DIR | ||
| 295 | chown ${gameuser} ${archlibdir}/update-game-score | ||
| 296 | chmod u+s ${archlibdir}/update-game-score | ||
| 297 | $(top_srcdir)/mkinstalldirs ${gamedir} | ||
| 298 | chown ${gameuser} ${gamedir} | ||
| 299 | chmod u=rwx,g=rwx,o=rx ${gamedir} | ||
| 300 | /* If you change these, be sure to change the variables in | ||
| 301 | lisp/play/{tetris,snake}.el. */ | ||
| 302 | touch ${gamedir}/snake-scores | ||
| 303 | touch ${gamedir}/tetris-scores | ||
| 304 | #endif | ||
| 291 | if [ `(cd ${archlibdir} && /bin/pwd)` \ | 305 | if [ `(cd ${archlibdir} && /bin/pwd)` \ |
| 292 | != `(cd ${srcdir} && /bin/pwd)` ]; then \ | 306 | != `(cd ${srcdir} && /bin/pwd)` ]; then \ |
| 293 | for file in ${SCRIPTS}; do \ | 307 | for file in ${SCRIPTS}; do \ |
| @@ -430,6 +444,9 @@ emacsclient: ${srcdir}/emacsclient.c ../src/config.h $(GETOPTDEPS) | |||
| 430 | hexl: ${srcdir}/hexl.c ../src/config.h | 444 | hexl: ${srcdir}/hexl.c ../src/config.h |
| 431 | $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl | 445 | $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl |
| 432 | 446 | ||
| 447 | update-game-score: ${srcdir}/update-game-score.c ../src/config.h | ||
| 448 | $(CC) ${ALL_CFLAGS} ${srcdir}/update-game-score.c $(LOADLIBES) -o update-game-score | ||
| 449 | |||
| 433 | /* These are NOT included in INSTALLABLES or UTILITIES. | 450 | /* These are NOT included in INSTALLABLES or UTILITIES. |
| 434 | See ../src/Makefile.in. */ | 451 | See ../src/Makefile.in. */ |
| 435 | emacstool: ${srcdir}/emacstool.c | 452 | emacstool: ${srcdir}/emacstool.c |