diff --git a/elks/tools/mtools/Makefile b/elks/tools/mtools/Makefile index bf99ba977..ced7aa6e1 100644 --- a/elks/tools/mtools/Makefile +++ b/elks/tools/mtools/Makefile @@ -41,18 +41,20 @@ include $(BASEDIR)/Makefile-rules all: mtools-4.0.23/Makefile make -C mtools-4.0.23 - cp mtools-4.0.23/mattrib ../bin - cp mtools-4.0.23/mcopy ../bin - cp mtools-4.0.23/mdir ../bin - cp mtools-4.0.23/mformat ../bin - cp mtools-4.0.23/minfo ../bin - cp mtools-4.0.23/mmd ../bin - cp mtools-4.0.23/mshowfat ../bin + cp -p mtools-4.0.23/mattrib ../bin + cp -p mtools-4.0.23/mcopy ../bin + cp -p mtools-4.0.23/mdir ../bin + cp -p mtools-4.0.23/mformat ../bin + cp -p mtools-4.0.23/minfo ../bin + cp -p mtools-4.0.23/mmd ../bin + cp -p mtools-4.0.23/mshowfat ../bin mtools-4.0.23/Makefile: cd mtools-4.0.23; ./configure --disable-floppyd; cd .. -dokclean: doclean +dokclean: doclean: + +clean: make -C mtools-4.0.23 clean diff --git a/elks/tools/mtools/mtools-4.0.23/Makefile.in b/elks/tools/mtools/mtools-4.0.23/Makefile.in index 310eb2a41..eac4e1862 100644 --- a/elks/tools/mtools/mtools-4.0.23/Makefile.in +++ b/elks/tools/mtools/mtools-4.0.23/Makefile.in @@ -183,7 +183,7 @@ dokclean: clean: -xclean: mostlyclean +clean: mostlyclean -rm -f mtools $(LINKS) floppyd floppyd_installtest mkmanifest *.info* *.dvi *.html 2>/dev/null