diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-05 20:09:11 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-05 20:09:11 +0000 |
| commit | d847c45f743194b37fcaa804610a150b5f82af69 (patch) | |
| tree | 7f29049442a977a3c7e89f6bbd791480c813e5cf /src/base | |
| parent | 62cec6f3e85e4763ffcbe84090ad1e745e51b9e6 (diff) | |
- ide to aj pusti a najde si to svoje paths :)
git-svn-id: http://opensvn.csie.org/tuxanci_ng@99 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/base')
| -rw-r--r-- | src/base/main.h | 6 | ||||
| -rw-r--r-- | src/base/path.h | 20 |
2 files changed, 7 insertions, 19 deletions
diff --git a/src/base/main.h b/src/base/main.h index fcf1f4d..a8e5503 100644 --- a/src/base/main.h +++ b/src/base/main.h @@ -5,12 +5,6 @@ #include "../../config.h" -#if defined PUBLIC_SERVER - -#undef DESTDIR - -#endif - #include "bool.h" #include "string_length.h" #include "path.h" diff --git a/src/base/path.h b/src/base/path.h index a99bf83..ceea00e 100644 --- a/src/base/path.h +++ b/src/base/path.h @@ -5,19 +5,14 @@ #include "main.h" -#ifdef DESTDIR - -#define PATH_DIR "share/tuxanci-ng/" - +#ifndef PUBLIC_SERVER +#define PATH_DIR "share/tuxanci-ng/" +#define PATH_MODULES DESTDIR "lib/tuxanci-ng/" #endif -#ifndef DESTDIR - -#define PATH_DIR "./" - -#undef DESTDIR -#define DESTDIR "" - +#ifdef PUBLIC_SERVER +#define PATH_DIR "share/tuxanci-ng-server/" +#define PATH_MODULES DESTDIR "lib/tuxanci-ng-server/" #endif #define PATH_IMAGE DESTDIR PATH_DIR "image/" @@ -28,6 +23,5 @@ #define PATH_CONFIG DESTDIR PATH_DIR "conf/" #define PATH_LANG DESTDIR PATH_DIR "lang/" #define PATH_DATA DESTDIR PATH_DIR "doc/" -#define PATH_MODULES DESTDIR "lib/tuxanci-ng/" -#endif +#endif |