[haiku-development] Re: PM and hpkg

  • From: Ralf Schülke <ralf.schuelke@xxxxxxxxx>
  • To: "haiku-development@xxxxxxxxxxxxx" <haiku-development@xxxxxxxxxxxxx>
  • Date: Thu, 11 Aug 2016 17:29:59 +0200

this sounds good, its nicer to add this to the makefile-engine her makefile
for haiku

http://cgit.haiku-os.org/haiku/tree/data/develop
packageInfo to add, its ok the same way as with rdef
The point are, in the makefile are have some stuff he can auto gen to
packeinfo
eg. i can in the makefile add the VERSION it is empty to used from rdef or
RSRCS. Ok we can add the packageInfo as separately eg. PACKAGEINFO =

But what happens when the file not add or exist? the minimum we  must add
in the makefile form makefile-engine a NAME, TYPE

I prefer to improved the makefile-engine and add the support for building a
hpkg.

packageInfo are good for non native apps, like POSIX ports or other ports
but for 100% Haiku native apps its good to used makefile-engine makefiles,
thats easy to make fast a app, lib, addon or driver etc.

Thanks

2016-08-11 17:12 GMT+02:00 Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>:

Am 11/08/2016 um 17:05 schrieb Ralf Schülke:

make hpkg // build a package


The makefile I use for DriveEncryption actually allows to build a package
automatically [1].

It's actually pretty basic, and at least for applications it shouldn't be
impossible to come up with a generic solution.
However, you would need to write a .PackageInfo file, and make this
available via the makefile.

Bye,
   Axel.

[1] https://github.com/axeld/driveencryption/blob/master/makefile



Other related posts: