This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: "make distclean" error
- From: Nick Clifton <nickc at redhat dot com>
- To: "J. Grant" <jg-lists at jguk dot org>
- Cc: binutils <binutils at sources dot redhat dot com>
- Date: Thu, 30 Oct 2003 10:55:13 +0000
- Subject: Re: "make distclean" error
- References: <3F985DCC.1080108@jguk.org>
Hi J.G.
> I have noticed this before, is there a reason "make distclean" has
> these errors, they do not seem to cause any problems.
> rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
> make: [local-distclean] Error 1 (ignored)
Yup - the Makefile script is set up to ignore this. It is not a
problem, since the script is only trying to delete directories that
did not exist in the first place. If it makes you feel any better you
could apply this patch to create them first (if they did not exist)
thus suppressing the error message. (You will need to regenerate
Makefile.in first before using it).
Cheers
Nick
Index: Makefile.tpl
===================================================================
RCS file: /cvs/src/src/Makefile.tpl,v
retrieving revision 1.81
diff -c -3 -p -r1.81 Makefile.tpl
*** Makefile.tpl 13 Oct 2003 21:45:29 -0000 1.81
--- Makefile.tpl 30 Oct 2003 11:02:53 -0000
*************** local-distclean:
*** 630,637 ****
--- 630,640 ----
-rm -rf $(BUILD_SUBDIR)
-rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
-rm -f texinfo/doc/Makefile texinfo/po/POTFILES
+ -mkdir -p texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
-rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
+ -mkdir -p texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
-rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
+ -mkdir -p fastjar gcc libiberty texinfo zlib 2>/dev/null
-rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
local-maintainer-clean: