summaryrefslogtreecommitdiffstats
path: root/Makefile.config
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-26 02:51:07 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-26 02:51:07 +0000
commit128d70150bc0c5188503f90d4d97311d7ba40cee (patch)
treeec01837c6c36c84715c853aefea4d2b213d12da1 /Makefile.config
parent9c29b12f0d1ea1a7d88d41d24c72a85cbc1b8862 (diff)
downloaddrakx-backup-do-not-use-128d70150bc0c5188503f90d4d97311d7ba40cee.tar
drakx-backup-do-not-use-128d70150bc0c5188503f90d4d97311d7ba40cee.tar.gz
drakx-backup-do-not-use-128d70150bc0c5188503f90d4d97311d7ba40cee.tar.bz2
drakx-backup-do-not-use-128d70150bc0c5188503f90d4d97311d7ba40cee.tar.xz
drakx-backup-do-not-use-128d70150bc0c5188503f90d4d97311d7ba40cee.zip
adapt to new directories layout:
- Mandrake/mdkinst -> install/stage2/live - Mandrake/base/mdkinst_stage2.bz2 -> install/stage2/mdkinst_stage2.bz2 - Mandrake/base/rpmsrate -> media/media_info/rpmsrate - Mandrake/RPMS -> media/main - images -> install/images - isolinux -> install/isolinux - Mandrake/share/advertising -> install/extra/advertising
Diffstat (limited to 'Makefile.config')
-rw-r--r--Makefile.config23
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile.config b/Makefile.config
new file mode 100644
index 000000000..793fd669e
--- /dev/null
+++ b/Makefile.config
@@ -0,0 +1,23 @@
+ROOTDEST = /export
+MISC_DEST = $(ROOTDEST)/misc
+GENERIC_INSTALL_DEST = $(ROOTDEST)/install
+EXTRA_INSTALL_DEST = $(GENERIC_INSTALL_DEST)/extra
+IMAGES_DEST = $(GENERIC_INSTALL_DEST)/images
+STAGE2_DEST = $(GENERIC_INSTALL_DEST)/stage2
+STAGE2_LIVE = $(STAGE2_DEST)/live
+
+MAIN_RPMS_DIR = $(ROOTDEST)/media/main
+MEDIA_INFO_DEST = $(ROOTDEST)/media/media_info
+
+
+
+
+# not config, but useful everywhere :)
+ARCH := $(patsubst i%86,i386,$(shell uname -m))
+ARCH := $(patsubst sparc%,sparc,$(ARCH))
+
+ifeq (x86_64, $(ARCH))
+LIB = lib64
+else
+LIB = lib
+endif