Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 8d7526402a4313c317e7f2135a7281d3 > files > 1

zhu3d-3.0.4-1mdv2008.0.src.rpm

--- src/paths.h	2007-01-16 09:48:26.000000000 +0000
+++ paths.h.tpg	2007-01-23 13:47:45.000000000 +0000
@@ -26,34 +26,17 @@
 // These are options, what may concern packagers only
 
 // Where are the html-helpfiles located
-#ifndef DOCDIR
-	#define MYDOCDIR (appPath+"/doc/")
-#else
-	#define MYDOCDIR (QString(DOCDIR)+"/")
-#endif
+#define MYDOCDIR QString("/usr/share/doc/zhu3d/")
 
 // Where are system-files like startup/languages/icons.. located
-#ifndef SYSDIR
-	#define MYSYSDIR (appPath+"/system/")
-	#define MYLANDIR (appPath+"/system/languages/")
-#else
-	#define MYSYSDIR (QString(SYSDIR)+"/")
-	#define MYLANDIR (QString(SYSDIR)+"/languages/")
-#endif
+#define MYSYSDIR QString("/usr/share/apps/zhu3d/system/")
+#define MYLANDIR QString("/usr/share/apps/zhu3d/system/languages/")
 
 // Where is the work directory with the zhu-files located
-#ifndef WORKDIR
-	#define MYWORKDIR (appPath+"/work/")
-#else
-	#define MYWORKDIR (QString(WORKDIR)+"/")
-#endif
+#define MYWORKDIR QString("/usr/share/apps/zhud3/work/")
 
 // Where is the directory for textures located
-#ifndef TEXDIR
-	#define MYTEXDIR (appPath+"/work/textures/")
-#else
-	#define MYTEXDIR (QString(TEXDIR)+"/")
-#endif
+#define MYTEXDIR QString("/usr/share/apps/zhu3d/work/textures/")
 
 // PATHS_H
 #endif