bugmake - Bugs: bug #17825, $? is not filled in if make...

 
 

bug #17825: $? is not filled in if make --always-make is used

Submitter:  Mike Hanafey <hanafey>
Submitted:  Fri 22 Sep 2006 05:49:44 PM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  3.81 Operating System:  POSIX-Based
Fixed Release:  3.82 Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 10 Jun 2009 03:09:38 AM UTC, comment #1: 

Check the always-make flag and add all prereqs to $? if it's set.

Paul D. Smith <psmith>
Group administrator
Fri 22 Sep 2006 05:49:44 PM UTC, original submission:  

Example:

# Tiny example makefile.
#
% cat Makefile
ArabidopsisMPSS.ind: arabidopsis.fasta
        cp $? ArabidopsisMPSS.ind

# This works, target is not there, so it is really out of date
#
% make --always-make
cp arabidopsis.fasta ArabidopsisMPSS.ind

# This fails, the target is not really out of date, but the
# option is supposed to force it to be made again.
#
% make --always-make
cp  ArabidopsisMPSS.ind
cp: missing destination file operand after `ArabidopsisMPSS.ind'
Try `cp --help' for more information.
make: * [ArabidopsisMPSS.ind] Error 1

Mike Hanafey <hanafey>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-07-28 psmith Fixed Release4.0 3.82
    2009-06-10 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.0

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code