project:magic-makefile
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
project:magic-makefile [2015/09/14 16:53] – fWpqfYIUuMe 146.185.234.48 | project:magic-makefile [2017/09/12 15:01] (current) – 95.208.70.15 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | http://videosexgirlshow.tk/#5882 video sex girl show, | + | ====== Magic Makefile for Debian Packages ====== |
+ | |||
+ | Every now and then one would like to have a Debian package made of her very own software. | ||
+ | |||
+ | |||
+ | This is where the Magic Makefile comes into play. | ||
+ | |||
+ | ===== Source ===== | ||
+ | |||
+ | Get it from http://repo.fischglas.de or http:// | ||
+ | |||
+ | ===== Usage ===== | ||
+ | |||
+ | ====== Magic Makefile (Version 0.99.7, 0.99.9) ===== | ||
+ | |||
+ | ==== Create a new Project | ||
+ | |||
+ | create a project directory and populate it: | ||
+ | |||
+ | < | ||
+ | mkdir myproject | ||
+ | cd myproject | ||
+ | cp / | ||
+ | </ | ||
+ | |||
+ | Inside Makefile, change: | ||
+ | |||
+ | < | ||
+ | APPNAME=some-app | ||
+ | VERSION=0.0 | ||
+ | </ | ||
+ | |||
+ | Create '' | ||
+ | |||
+ | < | ||
+ | UPLOADURL=http:// | ||
+ | DEBIAN_FULL_NAME=John Doe | ||
+ | DEBIAN_EMAIL=John.Doe@example.com | ||
+ | DEBIAN_HOMEPAGE=http:// | ||
+ | VERSION_CONTROL_SYSTEM=git | ||
+ | </ | ||
+ | |||
+ | **Hint**: as of 0.99.7 you may choose between '' | ||
+ | |||
+ | **Caveat**: Do not use quotes inside '' | ||
+ | |||
+ | If you're planning to use Magic Makefile for several projects or site wide | ||
+ | you may have a '' | ||
+ | |||
+ | Create Debian special foo i.e. the '' | ||
+ | |||
+ | < | ||
+ | make debian-prepkg | ||
+ | </ | ||
+ | |||
+ | Add a description to '' | ||
+ | See http:// | ||
+ | for details. | ||
+ | |||
+ | |||
+ | ==== Project components ==== | ||
+ | |||
+ | see below | ||
+ | |||
+ | ====== Magic Makefile (Version 0.99.5.1) ====== | ||
+ | |||
+ | ==== Create a new Project | ||
+ | |||
+ | create a project directory and populate it: | ||
+ | |||
+ | < | ||
+ | mkdir myproject | ||
+ | cd myproject | ||
+ | cp / | ||
+ | </ | ||
+ | |||
+ | Inside Makefile, change: | ||
+ | |||
+ | < | ||
+ | APPNAME=some-app | ||
+ | VERSION=0.0 | ||
+ | |||
+ | UPLOADURL=http:// | ||
+ | DEBIAN_FULL_NAME=John Doe | ||
+ | DEBIAN_EMAIL=John.Doe@example.com | ||
+ | DEBIAN_HOMEPAGE=http:// | ||
+ | </ | ||
+ | |||
+ | **Hint**: as of 0.99.5.1 **no quotation** is needed here. | ||
+ | |||
+ | Create Debian special foo i.e. the '' | ||
+ | |||
+ | < | ||
+ | make debian-prepkg | ||
+ | </ | ||
+ | |||
+ | Add a description to '' | ||
+ | See http:// | ||
+ | for details. | ||
+ | |||
+ | ==== Project components ==== | ||
+ | |||
+ | The basic idea behind Magic Makefile is to provide a fixed set of (mostly) | ||
+ | flat subdirectories whose contents are to go to corresponding system directories. | ||
+ | |||
+ | E.g. the contents of '' | ||
+ | |||
+ | The list of subdirectories: | ||
+ | |||
+ | ^ project subdir | ||
+ | | bin | /bin | | ||
+ | | ubin | / | ||
+ | | sbin | /sbin | | ||
+ | | usbin | / | ||
+ | | ushare | ||
+ | | ulbin | / | ||
+ | | ulsbin | ||
+ | | ulib | / | ||
+ | | etc/ | ||
+ | | etc/ | ||
+ | | etc/ | ||
+ | | etc/ | ||
+ | | etc/ | ||
+ | | etc/ | ||
+ | | etc/ | ||
+ | | etc/ | ||
+ | |||
+ | The contents of '' | ||
+ | documentation subdirectories: | ||
+ | |||
+ | ^ file name ^ system directory | ||
+ | | *.sgml | ||
+ | | *.html | ||
+ | | *.1 .. .8 | / | ||
+ | | copyright | / | ||
+ | |||
+ | It is encouraged that documentation is provided as DocBook/ | ||
+ | because all other document formats (like HTML, TXT and man) | ||
+ | might be derived from SGML by Magic Makefile automatically. | ||
+ | |||
+ | You might want to copy this sample ([[ : | ||
+ | to docs/ | ||
+ | |||
+ | ==== Development Cycle & Updating ==== | ||
+ | |||
+ | After you've changed things and want to release the new version of your software, | ||
+ | follow these steps: | ||
+ | |||
+ | * update the '' | ||
+ | * update '' | ||
+ | * run '' | ||
+ | * if you have a Subversion repository - run '' | ||
+ | * if you have an APT repository set up the way I have - run '' | ||
+ | |||
+ | ==== Hints ==== | ||
+ | |||
+ | === debian/ | ||
+ | |||
+ | The format of '' | ||
+ | |||
+ | < | ||
+ | | ||
+ | 2 | ||
+ | | ||
+ | 4 | ||
+ | 5 -- chris < | ||
+ | 6 | ||
+ | | ||
+ | 8 | ||
+ | | ||
+ | 10 | ||
+ | 11 -- chris < | ||
+ | </ | ||
+ | |||
+ | * 1 : package-name (version) (stable|unstable|testing); | ||
+ | * 2 : empty line | ||
+ | * 3 : two spaces, ' | ||
+ | * 4 : empty line | ||
+ | * 5 : space, two ' | ||
+ | * 6 : empty line | ||
+ | |||
+ | There may be multiple subsequent lines like line 3. | ||
+ |
project/magic-makefile.1442242424.txt.gz · Last modified: 2015/09/14 16:53 by 146.185.234.48