summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJF Ding <jian-feng.ding@intel.com>2011-08-15 16:04:15 +0800
committerJF Ding <jian-feng.ding@intel.com>2011-08-15 16:04:15 +0800
commit65365f976ec1f93b53d8106b250de40427b9fef8 (patch)
tree34a9e889c8ece78dfad8877c8b752150ca041a26 /Makefile
parent81c0d1b3ad76e46bb76d4319ca93fc751d607dd5 (diff)
downloadmic-65365f976ec1f93b53d8106b250de40427b9fef8.tar.gz
mic-65365f976ec1f93b53d8106b250de40427b9fef8.tar.bz2
mic-65365f976ec1f93b53d8106b250de40427b9fef8.zip
rename all micng to mic
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index d167900..719293c 100644
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,7 @@ PYTHON ?= python
VERSION = $(shell cat VERSION)
TAGVER = $(shell cat VERSION | sed -e "s/\([0-9\.]*\).*/\1/")
-PKGNAME = micng
-
-PLUGIN_DIR = /usr/lib/micng/plugins
+PKGNAME = mic
ifeq ($(VERSION), $(TAGVER))
TAG = $(TAGVER)
@@ -27,13 +25,7 @@ dist-gz:
git archive --format=tar --prefix=$(PKGNAME)-$(TAGVER)/ $(TAG) | \
gzip > $(PKGNAME)-$(TAGVER).tar.gz
-install-plugins:
- install -d ${DESTDIR}/${PLUGIN_DIR}/imager
- install -m 644 plugins/imager/* ${DESTDIR}/${PLUGIN_DIR}/imager
- install -d ${DESTDIR}/${PLUGIN_DIR}/backend
- install -m 644 plugins/backend/* ${DESTDIR}/${PLUGIN_DIR}/backend
-
-install: all install-plugins
+install: all
$(PYTHON) setup.py install --prefix=$(DESTDIR)/$(PREFIX)
develop: all