summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-03-10 08:53:14 +0000
committerSteven Barth <steven@midlink.org>2008-03-10 08:53:14 +0000
commit93a98dd13be5127871ff78d85e8199f2df77e9c2 (patch)
tree9873e6b279893a1f36ce4d361974fd2bd1219d59 /Makefile
parentb827bb905aee48f3c4c8edf9cfc2e8fc9406ba68 (diff)
Moved examples out of source directory
Added a first draft design Cleaned up Makefile Prepared for module development
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 38b7981ec..2d732ff08 100644
--- a/Makefile
+++ b/Makefile
@@ -12,16 +12,25 @@ DIRECTORIES = dist/ffluci/model dist/ffluci/controller/public dist/ffluci/contro
INFILES = $(CFILES:%=src/%)
OUTFILE = ffluci/init.lua
+.PHONY: all dist-compile dist-source examples-compile examples-source dist examples compile source clean
+
all: compile
-dist-compile: compile examples
-dist-source: source examples
+dist-compile: compile dist
+dist-source: source dist
-examples:
+examples-compile: compile examples
+examples-source: source examples
+
+
+dist:
cp src/ffluci/controller/public/* dist/ffluci/controller/public/
cp src/ffluci/controller/admin/* dist/ffluci/controller/admin/
cp src/ffluci/i18n/* dist/ffluci/i18n/
cp src/ffluci/view/* dist/ffluci/view/ -R
+
+examples:
+ cp examples/* dist/ -R
compile:
mkdir -p $(DIRECTORIES)
@@ -34,7 +43,5 @@ source:
for i in $(CFILES); do cp src/$$i dist/$$i; done
for i in $(FILES); do cp src/$$i dist/$$i; done
-
-.PHONY: clean
clean:
rm dist -rf