ownCloud source for Debian
==========================

As the ownCloud source is constructed so that it can put in a directory and
is ready to run, it contains both source and compiled/compressed parts.
Additionally does the source contain third party libraries which have
various licenses.

First of all, upstream source is cleaned by removing minified JavaScript files
without source and other incompatible material. Cleaned source has "dfsg" as
suffix. It’s handled with debian/rules get-orig-source target.

Additionally, the debian/rules build instructions will ensure that only the
necessary parts of the source are installed as follows:

* third party PHP code that is available via other Debian packages is removed,
* superfluous licenses are removed (as they are documented in debian/copyright),
* other superfluous files such as text files, source code and unused scripts
  are not installed
* minified JavaScript libraries are regenerated from source and then the
  source is removed,
* JavaScript libraries that are available via Debian are used (using symlinks).
