summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2015-01-30 10:42:44 -0500
committerTed Trask <ttrask01@yahoo.com>2015-01-30 10:42:44 -0500
commit2771aec707ca98737592cf9a2449ac0af156095a (patch)
tree341dae29b3f33f30abccb9c7c7f3ef141c3b2c18
parent742a4c3f933242984f4c23d8ad9a1c7081e70e90 (diff)
downloadacf-mariadb-2771aec707ca98737592cf9a2449ac0af156095a.tar.bz2
acf-mariadb-2771aec707ca98737592cf9a2449ac0af156095a.tar.xz
Modify Makefile to install into mysql, rather than mariadb
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b734c95..aaa1b2e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
APP_NAME=mariadb
+BASE_NAME=mysql
PACKAGE=acf-$(APP_NAME)
VERSION=0.1.1
@@ -14,7 +15,7 @@ TAR=tar
P=$(PACKAGE)-$(VERSION)
tarball=$(P).tar.bz2
-install_dir=$(DESTDIR)/$(appdir)/$(APP_NAME)
+install_dir=$(DESTDIR)/$(appdir)/$(BASE_NAME)
all:
clean:
@@ -26,7 +27,7 @@ install:
mkdir -p "$(install_dir)"
cp -a $(APP_DIST) "$(install_dir)"
for i in $$(ls -1 $(acflibdir)/db-*.lsp); do\
- ln -sf ../../lib/$$(basename $$i) $(install_dir)/$$(echo "$$(basename $$i)" | sed "s/db/$(APP_NAME)/");\
+ ln -sf ../../lib/$$(basename $$i) $(install_dir)/$$(echo "$$(basename $$i)" | sed "s/db/$(BASE_NAME)/");\
done
$(tarball): $(DISTFILES)