octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #43359] 'make maintainer-clean' fails when rem


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #43359] 'make maintainer-clean' fails when removing nonexistent files
Date: Sun, 05 Oct 2014 05:19:23 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

URL:
  <http://savannah.gnu.org/bugs/?43359>

                 Summary: 'make maintainer-clean' fails when removing
nonexistent files
                 Project: GNU Octave
            Submitted by: sebald
            Submitted on: Sun 05 Oct 2014 05:19:22 AM GMT
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

When running

make maintainer-clean

with a half built or unbuilt source tree I see:


if [ "x../../octave/scripts" != "x." ]; then \
  rm java/org/octave/images/question.png java/org/octave/images/error.png
java/org/octave/images/warning.png java/org/octave/images/information.png
java/org/octave/images/octave.png; \
fi
rm: cannot remove `java/org/octave/images/question.png': No such file or
directory
rm: cannot remove `java/org/octave/images/error.png': No such file or
directory
rm: cannot remove `java/org/octave/images/warning.png': No such file or
directory
rm: cannot remove `java/org/octave/images/information.png': No such file or
directory
rm: cannot remove `java/org/octave/images/octave.png': No such file or
directory
make[1]: *** [distclean-local] Error 1


Adding '-f' to the 'rm' fixes that:


distclean-local:
        if [ "x$(srcdir)" != "x." ]; then \
          rm $(java_JAVA_IMAGES); \
        fi




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 05 Oct 2014 05:19:22 AM GMT  Name: octave-force_rm-2014oct05.patch 
Size: 607B   By: sebald

<http://savannah.gnu.org/bugs/download.php?file_id=32224>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43359>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]