summaryrefslogtreecommitdiff
path: root/src/base/path.h
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-05 20:09:11 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-05 20:09:11 +0000
commitd847c45f743194b37fcaa804610a150b5f82af69 (patch)
tree7f29049442a977a3c7e89f6bbd791480c813e5cf /src/base/path.h
parent62cec6f3e85e4763ffcbe84090ad1e745e51b9e6 (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/path.h')
-rw-r--r--src/base/path.h20
1 files changed, 7 insertions, 13 deletions
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