Probably by telling that in (at least) the appropriate documents like README, distributing a license with the code and hopefully by adding comments to the source code files (in the beginning) that the code is under certain licence. If you prefer GPL (General Public License), you can grab some open source GPL-licenced project and use it as your example on how the license is distributed, how the source is marked etc.
|