The usual way of getting the file list is to install everything into 
a temporary directory, then getting a list of all the files in there.

You can do that manually - very easily - as in

 make DESTDIR=$(pwd)/temp install
 tar Pcf - ./temp | tar t > file-list

gnustep-make also has semi-private functionality to do that which is used by 
the built-in RPM package builder; you could use it as in --

make DESTDIR=$(pwd)/temp install filelist=yes

which should install everything into a temporary directory ./temp, and generate
a filelist (in the format used by RPM) in ./obj/file-list.  Of course, 
internally
it's just doing exactly the two lines of shell stuff I gave you above.  And
the disadvantage of this is that if a new version of gnustep-make reworks the
way the RPM internally works, we may potentially change the way the filelist
is generated.

So, I would recommend the first approach. :-)

Thanks

-----Original Message-----
From: "David Chisnall" <[EMAIL PROTECTED]>
Sent: Wednesday, 30 July, 2008 12:59
To: "GNUstep" <[email protected]>
Subject: Automatic package list generation

Hi,

I was wondering if there was a way, with GNUstep make, of  
automatically generating a list of files that will be installed and  
directories that will be created when you install a GNUstep program.

David


_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep




_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to