diff options
author | Natanael Copa <natanael.copa@gmail.com> | 2007-07-27 12:53:38 +0000 |
---|---|---|
committer | Natanael Copa <natanael.copa@gmail.com> | 2007-07-27 12:53:38 +0000 |
commit | dc53423183a0c459284ebd139022b707f01af006 (patch) | |
tree | 8a67a2904ec991028bddd429d57eec114b05baab /app/README | |
parent | 275c80281ba2e84b8d810bdb1c2b7f8c9a4333d9 (diff) | |
download | acf-core-050e043248df3a254daaddae7eb9d0c9f4cf1c9f.tar.bz2 acf-core-050e043248df3a254daaddae7eb9d0c9f4cf1c9f.tar.xz |
moved core files to new dir structurev2.0_alpha1
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@219 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'app/README')
-rw-r--r-- | app/README | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/app/README b/app/README new file mode 100644 index 0000000..83e69af --- /dev/null +++ b/app/README @@ -0,0 +1,48 @@ +Each directory has a collection of controllers, models and views +for a specific package. + + +How to make a new package +------------------------- + +Create a directory for your package with the package name. +In this dir you put your controller, model, menu files. + +Create a Makefile that describes the the following: + + * package name + + * version of package + + * what files should be installed on the running system + + * what additional files should be included in the distribution package + (tar.gz source package). The Makefile and acf-pkg.mk wil automatically be + added so only extra files like README and ChangeLog needs to be specified + here. + + * just include the acf-pkg.mk makefile which contains the rules to install + the package and build the dist package- + +If you have an acf-foo package it should look like this: + +PACAKGE = foo +VERSION = 0.2.0 +INSTALL_FILES = foo.controller.lua foo.model.lua +EXTRA_DIST = ChangeLog README +include acf-pkg.mk + + +Then you just need to create a link to ../acf-pkg.mk + + ln -s ../acf-pkg.mk acf-pkg.mk + +To build the distribution package you then run: + + make dist + +To install the files in the running system: + + make install + + |