summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-05 03:46:58 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-05 03:46:58 +0000
commiteaabd40bad5faeb5f0a57fbef85581d34e1a3791 (patch)
treeb020fee728b00b5effd6f9be93d36be0e8b57920 /Makefile
parentdcf7b4e2a9b84679117ae8006c418a9134431fc8 (diff)
downloaddrakx-backup-do-not-use-eaabd40bad5faeb5f0a57fbef85581d34e1a3791.tar
drakx-backup-do-not-use-eaabd40bad5faeb5f0a57fbef85581d34e1a3791.tar.gz
drakx-backup-do-not-use-eaabd40bad5faeb5f0a57fbef85581d34e1a3791.tar.bz2
drakx-backup-do-not-use-eaabd40bad5faeb5f0a57fbef85581d34e1a3791.tar.xz
drakx-backup-do-not-use-eaabd40bad5faeb5f0a57fbef85581d34e1a3791.zip
not images on ppc, we already didn't copy them, but we should also skip building MD5SUM
(inspired by Christiaan Welvaart)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index b7fca6771..4aa4dd2f8 100644
--- a/Makefile
+++ b/Makefile
@@ -21,17 +21,17 @@ install_only:
install -d $(MISC_DEST) $(EXTRA_INSTALL_DEST) $(IMAGES_DEST) $(MEDIA_INFO_DEST)
ifneq (ppc,$(ARCH))
cp -f images/* $(IMAGES_DEST)
+ rm -rf $(IMAGES_DEST)/alternatives
+ if [ `ls $(IMAGES_DEST)/*.img-* 2>/dev/null | wc -l` -gt 0 ]; then \
+ cd $(IMAGES_DEST); mkdir alternatives; cd alternatives; mv ../*.img-* .; md5sum *.img-* > MD5SUM; \
+ fi
+ cd $(IMAGES_DEST); md5sum *.{img,iso}* > MD5SUM
endif
ifeq (alpha,$(ARCH))
cp -f images/* $(ROOTDEST)/boot
cp -f vmlinux.gz $(ROOTDEST)/boot/instboot.gz
make -C tools/$(ARCH)/cd install ROOTDEST=$(ROOTDEST)
endif
- rm -rf $(IMAGES_DEST)/alternatives
- if [ `ls $(IMAGES_DEST)/*.img-* 2>/dev/null | wc -l` -gt 0 ]; then \
- cd $(IMAGES_DEST); mkdir alternatives; cd alternatives; mv ../*.img-* .; md5sum *.img-* > MD5SUM; \
- fi
- cd $(IMAGES_DEST); md5sum *.{img,iso}* > MD5SUM
ifeq (i386,$(ARCH))
rm -rf $(ROOTDEST)/isolinux