B.Goode wrote:
it should run make before it runs install target thats why the sudo make install
or am i completely wrong?
Doesn't that depend entirely on how the maintainer has written the Makefile?
Those sorts of dependencies
can be encoded in a Makefile: I'm not sure there is any law that says they
must be. (And I can think of good practical reasons why you might want the
make and
make install to be separate steps.)
What does the maintainer's documentation have to say about installation?
this:
SpaceZero v0.86
INSTALLATION
Software Requirements
=================
Libraries to compile SpaceZero:
libgtk2.0-dev
libglib2.0-dev
libopenal-dev
libalut-dev
libvorbis-dev
Compiling and Installing
========================
untar the gzipped file spacezero-X.XX.tar.gz in a temporary file with the
command:
$ tar zxvf spacezero-X.XX.XX.tar.gz
A tree structure directory has been created. Change to the spacezero
directory and simply type:
$make spacezero
and as root:
#make install
for a full system instalation.
The necessary executable file is copied to /usr/local/games.
The necessary data files are copied to /usr/local/share/spacezero.
A config directory is created in your home directory as .spacezero
Add /usr/local/games to your path.
You can change the default target directories in Makefile.
Miscellaneous Notes
===================
gtk 1.2 library
---------------
For old machines you can compile against gtk1.2 library doing:
$make gtk12
instead of $make spacezero
Disclaimer
==========
/*****************************************************************************
** This is part of the SpaceZero program
** Copyright(C) 2006-2013 M.Revenga
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 3), or
** (at your option) any later version, as published by the Free Software
** Foundation.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
******************************************************************************/