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

Group
 
 

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

Submitter:  Gregory John Casamento <gcasa>
Submitted:  Sun 25 Oct 2009 12:17:29 AM UTC
   
 
Category:  Makefiles Severity:  3 - Normal
Item Group:  Change Request Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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>
Group 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>
Group 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>
Group 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>
Group administrator

 

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

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

    Date Changed by Updated Field Previous Value => Replaced by
    2010-02-15 nico Open/ClosedIn Test Closed
    2010-02-07 nico StatusNone Fixed
        Open/ClosedOpen In Test

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code