summaryrefslogtreecommitdiffstats
path: root/app/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'app/Makefile')
-rw-r--r--app/Makefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/app/Makefile b/app/Makefile
new file mode 100644
index 0000000..4c12bea
--- /dev/null
+++ b/app/Makefile
@@ -0,0 +1,49 @@
+include ../config.mk
+
+APP_DIST= acf-util/logon-controller.lua\
+ acf-util/logon-html.lsp\
+ acf-util/logon-model.lua\
+ dummy/bar-controller.lua\
+ dummy/bar-html.lsp\
+ dummy/bar.menu\
+ acf_www-controller.lua\
+ foo-controller.lua\
+ foo-html.lsp\
+ foo.menu\
+ menuhints.menu\
+ template-html.lsp\
+ welcome-controller.lua\
+ welcome-html.lsp\
+ welcome.menu\
+
+EXTRA_DIST=README Makefile
+DISTFILES=$(APP_DIST) $(EXTRA_DIST)
+
+install_dir=$(DESTDIR)/$(appdir)
+
+phony+=all
+all:
+
+phony+=clean
+clean:
+
+phony+=distdir
+distdir: $(DISTFILES)
+ mkdir -p "$(DISTDIR)/app"
+ for i in $(DISTFILES); do\
+ dest=`dirname "$(DISTDIR)/app/$$i"`;\
+ mkdir -p "$$dest";\
+ cp "$$i" "$$dest";\
+ done
+
+phony+=install
+install:
+ mkdir -p $(install_dir)
+ for i in $(APP_DIST); do\
+ dest=`dirname "$(install_dir)/$$i"`;\
+ mkdir -p "$$dest";\
+ cp "$$i" "$$dest";\
+ done
+
+
+.PHONY: $(phony)