Skip to content

Commit

Permalink
Document "install-assets" makefile target
Browse files Browse the repository at this point in the history
Also, remove instructions to run bin/snis_update_assets.sh
after "make install"

Signed-off-by: Stephen M. Cameron <stephenmcameron@gmail.com>
  • Loading branch information
smcameron committed Oct 13, 2023
1 parent 41e8d2d commit c09916a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2356,7 +2356,9 @@ <h2><a name="misctopics">Miscellaneous Development Topics</a></h2>
<ul>
<li><cmd>make mostly-clean</cmd>
<li><cmd>make DESTDIR= PREFIX=/usr/local</cmd>
<li><cmd>make DESTDIR= PREFIX=/usr/local update-assets</cmd>
<li><cmd>sudo make DESTDIR= PREFIX=/usr/local install</cmd>
<li><cmd>sudo make DESTDIR= PREFIX=/usr/lcoal install-assets</cmd>
</ul>
<p>Note that <cmd>DESTDIR</cmd> is <cmd>.</cmd> by default, so you must specify <cmd>DESTDIR=</cmd>
if you want it to really land in <cmd>/usr/local</cmd>.
Expand All @@ -2373,9 +2375,6 @@ <h2><a name="misctopics">Miscellaneous Development Topics</a></h2>
each player have their own computer, and since the game uses OpenGL, you're not going to log
in remotely and try to run the game with X windows over the network, so there's no good
reason to <cmd>make install</cmd> as root.
<p>Additionally, if you do e.g. <cmd>make DESTDIR= PREFIX=$HOME/snis install</cmd> then you
must also do <cmd>cd $HOME/snis; bin/snis_update_assets.sh</cmd> to get updated assets
(the Makefile doesn't know about these new assets so it can't install them).
<p>Also, <cmd>snis_launcher</cmd> will be installed in the bin subdirectory rather than
at the top level, so to run it, do: <cmd>cd $HOME/snis ; bin/snis_launcher</cmd>.
<li>If you want to hack on the game, have a look at
Expand Down

0 comments on commit c09916a

Please sign in to comment.