discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Automatic package list generation


From: Nicola Pero
Subject: RE: Automatic package list generation
Date: Wed, 30 Jul 2008 13:25:35 +0200 (CEST)

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" <theraven@sucs.org>
Sent: Wednesday, 30 July, 2008 12:59
To: "GNUstep" <discuss-gnustep@gnu.org>
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
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep






reply via email to

[Prev in Thread] Current Thread [Next in Thread]