summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-01-04 17:16:08 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-01-04 17:16:08 +0000
commitb35416bfc7c3b7e3ea8643369d89607204ec8d4b (patch)
tree44203a19b57a03f12a8487a303279e5cb88a933e
parent78c824afd45ee8ac0d2ac7ad32b4a320300a763b (diff)
downloaddrakx-backup-do-not-use-b35416bfc7c3b7e3ea8643369d89607204ec8d4b.tar
drakx-backup-do-not-use-b35416bfc7c3b7e3ea8643369d89607204ec8d4b.tar.gz
drakx-backup-do-not-use-b35416bfc7c3b7e3ea8643369d89607204ec8d4b.tar.bz2
drakx-backup-do-not-use-b35416bfc7c3b7e3ea8643369d89607204ec8d4b.tar.xz
drakx-backup-do-not-use-b35416bfc7c3b7e3ea8643369d89607204ec8d4b.zip
(upload): also upload rpmsrate
-rw-r--r--Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index d983b8d5b..259a95a78 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
ARCH := $(patsubst i%86,i386,$(shell uname -m))
ARCH := $(patsubst sparc%,sparc,$(ARCH))
-RELEASE_BOOT_IMG = cdrom.img network.img hd.img hdreiser.img
+RELEASE_BOOT_IMG = cdrom.img hd.img hdreiser.img network.img
ifeq (i386,$(ARCH))
-RELEASE_BOOT_IMG += all.img blank.img other.img # pcmcia.img
+RELEASE_BOOT_IMG += all.img blank.img other.img pcmcia.img
endif
ifeq (sparc,$(ARCH))
BOOT_IMG = live.img tftp.img tftprd.img live64.img tftp64.img tftprd64.img
@@ -13,7 +13,7 @@ BOOT_IMG += $(RELEASE_BOOT_IMG)
BOOT_RDZ = $(BOOT_IMG:%.img=%.rdz)
BINS = mdk-stage1/init mdk-stage1/stage1-full mdk-stage1/stage1-cdrom mdk-stage1/stage1-network
-DIRS = tools mdk-stage1
+DIRS = tools #mdk-stage1
ROOTDEST = /export
UPLOAD_DEST_ = ~/cooker
@@ -23,9 +23,9 @@ UPLOAD_SPARC_DEST = /mnt/BIG/distrib/sparc
.PHONY: dirs $(FLOPPY_IMG) install
-install: build autoboot rescue
+install: #rescue
for i in images misc Mandrake Mandrake/base; do install -d $(ROOTDEST)/$$i ; done
- cp -f $(RELEASE_BOOT_IMG) $(ROOTDEST)/images
+# cp -f $(RELEASE_BOOT_IMG) $(ROOTDEST)/images
ifeq (alpha,$(ARCH))
cp -f $(BOOT_RDZ) $(ROOTDEST)/boot
cp -f vmlinux.gz $(ROOTDEST)/boot/instboot.gz
@@ -77,10 +77,11 @@ clean:
for i in $(DIRS) rescue; do make -C $$i clean; done
find . -name "*~" -o -name ".#*" | xargs rm -f
-upload: clean install
+upload: install #clean
function upload() { rsync -qSavz --verbose --exclude '*~' -e ssh --delete $(ROOTDEST)/$$1/$$2 mandrake@kenobi:/c/cooker/$$1; } ;\
upload Mandrake/mdkinst '' ;\
upload Mandrake/base compss* ;\
+ upload Mandrake/base rpmsrate ;\
upload Mandrake/base *_stage2.gz ;\
upload boot '' ;\
upload misc genbasefiles ;\