Cheatsheet

Scripts

Initialize a package:

$ ./common/init_pkg.sh -n <PKG_NAME>

All Makefiles

Display the help:

$ make help

Listing the the distribution versions available:

$ make list_dist

Cleaning:

# clean everything
$ make clean

# clean everything except upstream downloads
$ make clean KEEP_CACHE=true

Package Makefile

(Re)creating the MANIFEST file:

$ make manifest

Building .deb:

$ make deb

Building .rpm:

$ make rpm

Building .deb (chroot):

$ make deb_chroot DIST=<VERSION>

Building .rpm (chroot):

$ make rpm_chroot DIST=<VERSION>

Global Makefile

Building all .deb:

$ make deb

Building all .rpm:

$ make rpm

Building all.deb (chroot):

$ make deb_chroot DIST=<VERSION>

Building all .rpm (chroot):

$ make rpm_chroot DIST=<VERSION>

Building the .deb repository:

$ make deb_repo DIST<VERSION>

Building the .rpm repository:

$ make rpm_repo DIST<VERSION>