Codebase list ohcount / d4c3f612-6685-4dc0-9339-5433a0a275c0/main doc / html / license_doc.html
d4c3f612-6685-4dc0-9339-5433a0a275c0/main

Tree @d4c3f612-6685-4dc0-9339-5433a0a275c0/main (Download .tar.gz)

license_doc.html @d4c3f612-6685-4dc0-9339-5433a0a275c0/mainraw · history · blame

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ohcount: License Documentation</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1><a class="anchor" name="license_doc"><a class="el" href="structLicense.html" title="Holds a license and its associated details and patterns.">License</a> Documentation </a></h1><dl class="author" compact><dt><b>Author:</b></dt><dd>Mitchell Foral</dd></dl>
<h2><a class="anchor" name="license">
How to Add a New License</a></h2>
<ul>
<li>Add your license to 'src/licenses.h' and 'src/licenses.c'. Don't forget that two '\'s are required to represent one '\' in a C string. </li>
<li>Add your tests to the 'test/src_licenses/' and 'test/expected_licenses/' directories. Note that multiple licenses must be separated by newlines and be in the order they appear in the input file. </li>
<li>Run the test suite (a rebuild is not necessary; your added tests are detected and run automatically) to verify your licenses are correctly detected. </li>
<li>Rebuild Ohcount. </li>
</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Aug 28 15:20:08 2009 for ohcount by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>