Initial revision
[chise/xemacs-chise.git] / netinstall / reginfo.h
1 /* reginfo.h -- XEmacs version numbers and accompanying documentation.
2
3 Copyright (C) 2000 Andy Piper. */
4
5 #define XEMACS_INFO_XEMACS_ORG_REGISTRY_NAME "GNU"
6 #define XEMACS_INFO_XEMACS_REGISTRY_NAME "XEmacs"
7 /* Keys */
8 #define XEMACS_INFO_XEMACS_ROOT_KEY "emacs_dir"
9 #define XEMACS_INFO_XEMACS_ROOT_TYPE "install_type"
10 #define XEMACS_INFO_XEMACS_PACKAGE_KEY "EMACSPACKAGEPATH"
11 #define XEMACS_INFO_XEMACS_VERSION_KEY "version"
12
13 #define XEMACS_DEFAULT_ROOT "\\Program Files\\XEmacs"
14 #define XEMACS_CYGWIN_DEFAULT_ROOT "\\usr\\local"
15
16 #define XEMACS_SETUP_DIR \
17   ((char*)(install_type == IDC_INSTALL_NATIVE ? "\\setup\\" : "/lib/xemacs/setup/"))
18 #define XEMACS_RESOURCE_DIR \
19   ((char*)(install_type == IDC_INSTALL_NATIVE ? "\\" : "/lib/xemacs/"))
20 #define XEMACS_PACKAGE_DIR \
21   ((char*)(install_type == IDC_INSTALL_NATIVE ? "\\xemacs-packages\\" \
22                                     : "/lib/xemacs/xemacs-packages/"))
23 #define XEMACS_NATIVE_ARCH_NAME "i586-pc-win32"
24 #define XEMACS_CYGWIN_ARCH_NAME "i686-pc-cygwin32"
25
26 /*
27  * Installation hierarchy is:
28  * C:\Program Files\XEmacs
29  *                      \xemacs-packages
30  *                              \etc
31  *                              \info
32  *                              \lib-src
33  *                              \lisp
34  *                              \man
35  *                              \pkginfo
36  *                      \site-packages
37  *                      \mule-packages
38  *                      \XEmacs-21.2
39  *                              \i586-pc-win32
40  *                              \etc
41  *                              \info
42  *                              \lisp
43  * Or:
44  * /usr/local/lib
45  *              /xemacs/xemacs-packages
46  *              /xemacs/site-packages
47  *              /xemacs/mule-packages
48  *              /xemacs-21.2
49  *                              /i686-pc-cygwin32
50  *                              /etc
51  *                              /info
52  *                              /lisp
53  * /usr/local/bin/i686-pc-cygwin32
54  */
55
56