diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-08-05 03:46:58 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-08-05 03:46:58 +0000 |
commit | eaabd40bad5faeb5f0a57fbef85581d34e1a3791 (patch) | |
tree | b020fee728b00b5effd6f9be93d36be0e8b57920 /Makefile | |
parent | dcf7b4e2a9b84679117ae8006c418a9134431fc8 (diff) | |
download | drakx-eaabd40bad5faeb5f0a57fbef85581d34e1a3791.tar drakx-eaabd40bad5faeb5f0a57fbef85581d34e1a3791.tar.gz drakx-eaabd40bad5faeb5f0a57fbef85581d34e1a3791.tar.bz2 drakx-eaabd40bad5faeb5f0a57fbef85581d34e1a3791.tar.xz drakx-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-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |