12.6. Examples
Any examples (configurations, source files, whatever), should be installed in a directory /usr/share/doc/package/examples
. These files should not be referenced by any program: they’re there for the benefit of the system administrator and users as documentation only. Architecture-specific example files should be installed in a directory /usr/lib/package/examples
with symbolic links to them from /usr/share/doc/package/examples
, or the latter directory itself may be a symbolic link to the former.
If the purpose of a package is to provide examples, then the example files may be installed into /usr/share/doc/package
.