User:Timothee Flutre/Notebook/Postdoc/2012/11/27: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
(→‎Entry title: first version)
(→‎How to make a GNU package?: add files requested by GNU)
Line 11: Line 11:


* make the structure of the project directory ([http://www.sourceware.org/autobook/autobook/autobook_46.html ref])
* make the structure of the project directory ([http://www.sourceware.org/autobook/autobook/autobook_46.html ref])
  touch README INSTALL
  touch README INSTALL NEWS AUTHORS COPYING ChangeLog
  mkdir src doc test lib config
  mkdir src doc test lib config



Revision as of 16:45, 27 November 2012

Project name <html><img src="/images/9/94/Report.png" border="0" /></html> Main project page
<html><img src="/images/c/c3/Resultset_previous.png" border="0" /></html>Previous entry<html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</html>

How to make a GNU package?

  • find a name for the package
  • make the structure of the project directory (ref)
touch README INSTALL NEWS AUTHORS COPYING ChangeLog
mkdir src doc test lib config
  • populate the src/ directory with your code, e.g. one .cpp file
  • use Autotools (ref)