From 42f5cf229efa2b20c642c7c0d7a2f3cd98b9a890 Mon Sep 17 00:00:00 2001 From: oroborus Date: Mon, 17 Mar 2008 22:19:43 +0000 Subject: - dopisane scripty git-svn-id: http://opensvn.csie.org/tuxanci_ng@25 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- include/path.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'include/path.h') diff --git a/include/path.h b/include/path.h index ab1ae61..a51baa0 100644 --- a/include/path.h +++ b/include/path.h @@ -3,8 +3,23 @@ #define PATH_H +#include "main.h" + +#ifdef DISTDIR + #define PATH_DIR "share/tuxanci-ng/" +#endif + +#ifndef DISTDIR + +#define PATH_DIR "./" + +#undef DISTDIR +#define DISTDIR "" + +#endif + #define PATH_IMAGE DISTDIR PATH_DIR "image/" #define PATH_FONT DISTDIR PATH_DIR "font/" #define PATH_ARENA DISTDIR PATH_DIR "arena/" -- cgit v1.2.3