summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-06-28 16:50:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-06-28 16:50:39 +0000
commitb6a8fceafd44f7354efc7b7b27db48204e051317 (patch)
treee579bbc5441d9905f91880e5d68440a70802b2f4 /Makefile
parentf02e76ad7ed01ce6f02ed576c13dd74fc69cdef6 (diff)
downloaddrakx-b6a8fceafd44f7354efc7b7b27db48204e051317.tar
drakx-b6a8fceafd44f7354efc7b7b27db48204e051317.tar.gz
drakx-b6a8fceafd44f7354efc7b7b27db48204e051317.tar.bz2
drakx-b6a8fceafd44f7354efc7b7b27db48204e051317.tar.xz
drakx-b6a8fceafd44f7354efc7b7b27db48204e051317.zip
no_comment
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 2f40771df..43e0a9951 100644
--- a/Makefile
+++ b/Makefile
@@ -96,17 +96,14 @@ clean:
for i in $(DIRS) rescue; do make -C $$i clean; done
find . -name "*~" -o -name ".#*" | xargs rm -f
-upload: tar install
- touch /tmp/mdkinst_done
- cd $(ROOTDEST)/Mandrake ; tar cfz mdkinst.tgz mdkinst
-
- lftp -c "open mandrakesoft.com; cd ~/tmp ; put $(ROOTDEST)/Mandrake/mdkinst.tgz ; put /tmp/mdkinst_done ; cd $(UPLOAD_DEST)/Mandrake/base ; lcd $(ROOTDEST)/Mandrake/base ; put mdkinst_stage2.gz rescue_stage2.gz compss compssList compssUsers hdlists ; cd $(UPLOAD_DEST)/misc ; lcd ~/gi/tools/ ; put make_mdkinst_stage2" #,gendepslist,rpm2header"
-# lftp -c "open mandrakesoft.com; cd $(UPLOAD_DEST)/images ; mput $(ROOTDEST)/images/*.img"
-# lftp -c "open mandrakesoft.com; cd $(UPLOAD_DEST)/dosutils/autoboot/mdkinst ; put $(ROOTDEST)/dosutils/autoboot/mdkinst/vmlinuz ; mput $(ROOTDEST)/dosutils/autoboot/mdkinst/initrd.*"
-# lftp -c "open mandrakesoft.com; cd $(UPLOAD_DEST)/lnx4win ; lcd $(ROOTDEST)/lnx4win ; put initrd.gz vmlinuz"
-# lftp -c "open mandrakesoft.com; cd $(UPLOAD_DEST_CONTRIB)/others/src ; put ../gi.tar.bz2"
- rm -f $(ROOTDEST)/Mandrake/mdkinst.tgz
- rm -f /tmp/mdkinst_done
+upload: clean install
+ function upload() { rsync -qSavz --verbose --exclude '*~' -e ssh --delete $(ROOTDEST)/$$1/$$2 mandrake@kenobi:/c/cooker/$$1; } ;\
+ upload Mandrake/mdkinst '' ;\
+ upload Mandrake/base {compss*,mdkinst_stage2.gz,rescue_stage2.gz} ;\
+ upload dosutils/autoboot/mdkinst {initrd.*,vmlinuz} ;\
+ upload lnx4win {initrd.gz,vmlinuz} ;\
+ for i in $(RELEASE_BOOT_IMG); do upload images $$i; done ;\
+ echo
upload_sparc:
touch /tmp/mdkinst_done