From 282d068aced3f88956af4182a353f8ea150caa2b Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 28 Oct 2014 19:03:59 +0000 Subject: Move the lib files into a subdirectory in preparation for creating a generic controller/model --- lib/Makefile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 lib/Makefile (limited to 'lib/Makefile') diff --git a/lib/Makefile b/lib/Makefile new file mode 100644 index 0000000..b128d6f --- /dev/null +++ b/lib/Makefile @@ -0,0 +1,29 @@ +include ../config.mk + +LIB_DIST=dbcontrollerfunctions.lua\ + dbmodelfunctions.lua\ + db-*-html.lsp\ + +EXTRA_DIST=Makefile +DISTFILES=$(LIB_DIST) $(EXTRA_DIST) + +install_dir=$(DESTDIR)/$(acflibdir) +dist_dir=$(DISTDIR)/$(notdir $(PWD)) + +phony+=all +all: + +phony+=clean +clean: + +phony+=distdir +distdir: $(DISTFILES) + mkdir -p "$(dist_dir)" + cp -a $(DISTFILES) "$(dist_dir)" + +phony+=install +install: + mkdir -p "$(install_dir)" + cp -a $(LIB_DIST) "$(install_dir)" + +.PHONY: $(phony) -- cgit v1.2.3