[haiku-development] PM and hpkg

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

Hi List,

Haiku have two nice development stuff for nativ app development:

1) rdef
2) makefile-engine

now haiku have PM and new hpkg, so it is for me a logical to add this with
rdef and makefile-engine

hpkg need "packageInfo" file, this can auto generated from rdef and "make
hpkg" can add in the make-file engine.

i think thats help for development on haiku.

The goale are, edit the makefile (from makefile-engine) to build a app and
make a hpkg.

eg:

# make hpkg
hpkg:
// create packageInfo from rdef and makefile
// if no rdef -> makefile to rdef
// if no packageInfo -> makefile to packageInfo
if no rdef and no packageInfo -> makefile to rdef/packageInfo
package -b DIR($TYPE)/$NAME
package add packageInfo

so can we do this:
make
make clean
make install // nonpackage stuff
make hpkg // build a package
make hpkg-install // install in /home/config/package

etc...

Thanks

Other related posts: