bugGNUstep - Bugs: bug #27801, Add -D flag to allow creation of...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #27801: Add -D flag to allow creation of directories when installing...

Submitted by:  Gregory John Casamento <gcasa>
Submitted on:  Sun 25 Oct 2009 12:17:29 AM UTC  
 
Category: MakefilesSeverity: 3 - Normal
Item Group: Change RequestStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Mon 15 Feb 2010 02:24:36 PM UTC, comment #5:

Closing since it has been implemented and I tested it.

I hope someone (other than me) tested it (or will test it before gnustep-make 2.4.0 is released). :-)

Thanks

Nicola Pero <nico>
Project Member
Sun 07 Feb 2010 07:56:56 PM UTC, comment #4:

I implemented

xxx_HEADER_FILES = somedir/somefile.h

and committed it to trunk.

Let me know if it works. :-)

Thanks

Nicola Pero <nico>
Project Member
Tue 27 Oct 2009 08:24:18 AM UTC, comment #3:

Sure.

At the moment, having headers as in

xxx_HEADER_FILES = somedir/somefile.h ...

is not supported.

But if "somedir" is the same for all files, you can use

xxx_HEADER_FILES_DIR = somedir
xxx_HEADER_FILES = somefile.h ...

and that should work. :-)

Once I get a few hours free (probably sometime this week, or next weekend) I'll have a look at supporting

xxx_HEADER_FILES = somedir/somefile.h ...

- the Etoile guys as well would appreciate that feature. ;-)

Thanks

Nicola Pero <nico>
Project Member
Tue 27 Oct 2009 07:06:36 AM UTC, comment #2:

I am running into this issue during my port of WebKit....

When listing the headers in the GNUmakefile like so:

XXX_HEADER_FILES=
./somedir/somefile.h

GNUstep-make current dies because it uses install -n -p and somedir doesn't currently exist. If you add the -D flag it would attempt to create "somedir" if it doesn't currently exist at the installation destination. It simply makes things easier.

Please let me know if you still need me to upload an example framework/library to illustrate this.

Gregory John Casamento <gcasa>
Project Administrator
Sun 25 Oct 2009 02:03:18 PM UTC, comment #1:

Could you clarify ?

If you have an example, could you attach/describe it in the issue ?
Examples are wonderful at clarifying these things. :-)

Thanks

Nicola Pero <nico>
Project Member
Sun 25 Oct 2009 12:17:29 AM UTC, original submission:

This is useful for when a makefile must create headers where subdirectories are required.

Gregory John Casamento <gcasa>
Project Administrator

 

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 nico (Posted a comment)
  • -unavailable- added by gcasa (Submitted the item)
  •  

    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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 15 Feb 2010 02:24:36 PM UTCnicoOpen/ClosedIn Test=>Closed
    Sun 07 Feb 2010 07:56:56 PM UTCnicoStatusNone=>Fixed
      Open/ClosedOpen=>In Test

    Back to the top


    Powered by Savane 3.1-cleanup1