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

 
 

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

Submitted by:  Mike Hanafey <hanafey>
Submitted on:  Fri 22 Sep 2006 05:49:44 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 3.81Operating System: POSIX-Based
Fixed Release: 3.82Triage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 28 Jul 2010 06:19:28 AM UTCpsmithFixed Release4.0=>3.82
    Wed 10 Jun 2009 03:09:38 AM UTCpsmithStatusNone=>Fixed
      Assigned toNone=>psmith
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.0

    Back to the top


    Powered by Savane 3.1-cleanup1