// vim:set filetype=asciidoc:
[[emptypkg]]
=== Cherry-pick templates

Here is an example of creating a simple Debian package from a zero content source on an empty directory.

This is a good platform to get all the template files without making a mess in the upstream source tree you are working on.

Let's assume this empty directory to be *debhello-0.1*.

----
include::../examples/debhello-0.1_build-1/step000.slog[]
----

Let's generate the maximum amount of template files.

Let's also use the "`*-p* __debhello__ *-t -u* __0.1__ *-r* __1__`" options to make the missing upstream tarball with default *-x3* and *T* options.

----
include::../examples/debhello-0.1_build-1/step200.slog[lines=1..3]
 ...
----

Let's inspect generated template files.

----
include::../examples/debhello-0.1_build-1/step201.slog[]
----

Now you can copy any of these generated template files in the __debhello-0.1/__**debian/** directory to your package as needed while renaming them as needed.

