[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #51591] Typographical error in manual
From: |
thutt |
Subject: |
[bug #51591] Typographical error in manual |
Date: |
Thu, 27 Jul 2017 08:10:00 -0700 |
anonymous writes:
> URL:
> <http://savannah.gnu.org/bugs/?51591>
>
> Summary: Typographical error in manual
> Project: make
> Submitted by: None
> Submitted on: Thu 27 Jul 2017 02:58:59 PM UTC
> Severity: 3 - Normal
> Item Group: Documentation
> Status: None
> Privacy: Public
> Assigned to: None
> Open/Closed: Open
> Discussion Lock: Any
> Component Version: None
> Operating System: Any
> Fixed Release: None
> Triage Status: None
>
> _______________________________________________________
>
> Details:
>
> Hello,
>
> Please check the section at the URL here:
> http://www.gnu.org/software/make/manual/make.html#Cleanup
>
> In the following example:
>
> .PHONY : clean
> clean :
> -rm edit $(objects)
>
> This should read:
>
> .PHONY : clean
> clean :
> rm edit $(objects)
This is not a typo. The '-' prefix instructs make to ignore the
return code from the command. This allows 'make clean' to be
successfully executed when there are no files to delete in the
directory.