summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-04-12 13:12:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-04-12 13:12:41 +0000
commit8758c0b3f9cb50b201702949caa2ee42f01e4307 (patch)
tree8861c4ab4a6e7b6e07f3bf0ee83d2ebb53aaa9a3 /Makefile
parent02852d8b7c6629b45c65c9daae4ca5ea8423a2c7 (diff)
downloaddrakx-8758c0b3f9cb50b201702949caa2ee42f01e4307.tar
drakx-8758c0b3f9cb50b201702949caa2ee42f01e4307.tar.gz
drakx-8758c0b3f9cb50b201702949caa2ee42f01e4307.tar.bz2
drakx-8758c0b3f9cb50b201702949caa2ee42f01e4307.tar.xz
drakx-8758c0b3f9cb50b201702949caa2ee42f01e4307.zip
(install): clean old images/alternatives
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9669c4c5c..a6c79c9a9 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ ifeq (alpha,$(ARCH))
cp -f vmlinux.gz $(ROOTDEST)/boot/instboot.gz
make -C tools/$(ARCH)/cd install ROOTDEST=$(ROOTDEST)
endif
- cd $(ROOTDEST)/images; mkdir -p alternatives ; mv *.img-* alternatives
+ cd $(ROOTDEST)/images; rm -rf alternatives ; mkdir alternatives ; mv *.img-* alternatives
cd $(ROOTDEST)/images; md5sum *.img* > MD5SUM
cd $(ROOTDEST)/images/alternatives; md5sum *.img* > MD5SUM