diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-10-28 19:03:59 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-10-28 19:03:59 +0000 |
commit | 282d068aced3f88956af4182a353f8ea150caa2b (patch) | |
tree | 38d80a55c555482d65f19e9fb50e7a2b7c87e5b9 /lib/Makefile | |
parent | b9926ecbe8279f60d7dfe7648c7c0851cb0aaabc (diff) | |
download | acf-db-282d068aced3f88956af4182a353f8ea150caa2b.tar.bz2 acf-db-282d068aced3f88956af4182a353f8ea150caa2b.tar.xz |
Move the lib files into a subdirectory in preparation for creating a generic controller/model
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
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) |