Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ACF
acf-db
Commits
282d068a
Commit
282d068a
authored
Oct 28, 2014
by
Ted Trask
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move the lib files into a subdirectory in preparation for creating a generic controller/model
parent
b9926ecb
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
47 additions
and
22 deletions
+47
-22
Makefile
Makefile
+17
-22
README
README
+1
-0
lib/Makefile
lib/Makefile
+29
-0
lib/db-listdatabases-html.lsp
lib/db-listdatabases-html.lsp
+0
-0
lib/db-listtables-html.lsp
lib/db-listtables-html.lsp
+0
-0
lib/db-viewtable-html.lsp
lib/db-viewtable-html.lsp
+0
-0
lib/dbcontrollerfunctions.lua
lib/dbcontrollerfunctions.lua
+0
-0
lib/dbmodelfunctions.lua
lib/dbmodelfunctions.lua
+0
-0
No files found.
Makefile
View file @
282d068a
include
config.mk
APP_NAME
=
db
PACKAGE
=
acf-
$(APP_NAME)
VERSION
=
0.1.0
LIB_DIST
=
dbcontrollerfunctions.lua
\
dbmodelfunctions.lua
\
db-
*
-html
.lsp
\
APP_DIST
=
db
*
\
EXTRA_DIST
=
README Makefile
DISTFILES
=
$(LIB_DIST)
$(EXTRA_DIST)
SUBDIRS
=
lib
EXTRA_DIST
=
README Makefile config.mk
DISTFILES
=
$(APP_DIST)
$(EXTRA_DIST)
install_dir
=
$(DESTDIR)
/
$(acflibdir)
dist_dir
=
$(DISTDIR)
/
$(
notdir
$(PWD)
)
install_dir
=
$(DESTDIR)
/
$(appdir)
/
$(APP_NAME)
phony
+=
all
all
:
...
...
@@ -16,23 +16,18 @@ all:
phony
+=
clean
clean
:
phony
+=
distdir
distdir
:
$(DISTFILES)
mkdir
-p
"
$(dist_dir)
"
for
i
in
$(DISTFILES)
;
do
\
dest
=
`
dirname
"
$(dist_dir)
/
$$
i"
`
;
\
mkdir
-p
"
$$
dest"
;
\
cp
"
$$
i"
"
$$
dest"
;
\
export
DISTDIR
DESTDIR
phony
+=
install-recursive
install-recursive
:
for
dir
in
$(SUBDIRS)
;
do
\
(
cd
$$
dir
&&
$(MAKE)
install
)
||
exit
1
;
\
done
phony
+=
install
install
:
mkdir
-p
$(install_dir)
for
i
in
$(LIB_DIST)
;
do
\
dest
=
`
dirname
"
$(install_dir)
/
$$
i"
`
;
\
mkdir
-p
"
$$
dest"
;
\
cp
"
$$
i"
"
$$
dest"
;
\
done
install
:
install-recursive $(SUBDIRS)
mkdir
-p
"
$(install_dir)
"
cp
-a
$(APP_DIST)
"
$(install_dir)
"
include
config.mk
.PHONY
:
$(phony)
README
0 → 100644
View file @
282d068a
ACF library for editing databases
lib/Makefile
0 → 100644
View file @
282d068a
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)
db-listdatabases-html.lsp
→
lib/
db-listdatabases-html.lsp
View file @
282d068a
File moved
db-listtables-html.lsp
→
lib/
db-listtables-html.lsp
View file @
282d068a
File moved
db-viewtable-html.lsp
→
lib/
db-viewtable-html.lsp
View file @
282d068a
File moved
dbcontrollerfunctions.lua
→
lib/
dbcontrollerfunctions.lua
View file @
282d068a
File moved
dbmodelfunctions.lua
→
lib/
dbmodelfunctions.lua
View file @
282d068a
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment