Skip to content

Installation path fix for UNIX systems#248

Open
giuliods wants to merge 2 commits intoandrei-drexler:masterfrom
giuliods:master
Open

Installation path fix for UNIX systems#248
giuliods wants to merge 2 commits intoandrei-drexler:masterfrom
giuliods:master

Conversation

@giuliods
Copy link

While compiling and installing Ironwail on Linux the Makefile wasn't able to create the directory and put the files in the folders correctly.

This pull request should do these things:

  • it assures to create the folder quake in the correct path. The
    folder /usr/local/games is common but not always present on every distribution and it is
    necessary to create it if not present.
  • I created a folder /usr/local/share for the pak so the files useful for
    the binary are available on the standard path rather than on games.
  • And I created a uninstall phony to remove everything.

This required some modification to the pak position in quakedef.h which are defined only
for __unix

Signed-off-by: Giulio De Stasio <giuliodestasio98@gmail.com>
#define ENGINE_PATH_UNIX "/usr/local/share"
#define ENGINE_PAK ENGINE_PATH_UNIX "/ironwail/ironwail.pak"
#else
#define ENFINE_PAK "ironwail.pak"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo "ENFINE" here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants