50 lines
1.7 KiB
Diff
50 lines
1.7 KiB
Diff
|
Submitted By: Mario Fetka (geos_one) (mario dot fetka at gmail dot com)
|
||
|
Date: 2010-05-01
|
||
|
Initial Package Version: 2.4.0
|
||
|
Origin: me
|
||
|
Upstream Status: unknonw
|
||
|
Description: split the install into some clear targets
|
||
|
|
||
|
diff -Naur mds-2.4.0.orig/agent/Makefile mds-2.4.0/agent/Makefile
|
||
|
--- mds-2.4.0.orig/agent/Makefile 2010-04-21 12:29:46.000000000 +0000
|
||
|
+++ mds-2.4.0/agent/Makefile 2010-05-01 06:49:16.150868972 +0000
|
||
|
@@ -44,22 +44,31 @@
|
||
|
@echo "Nothing to do"
|
||
|
|
||
|
# Install everything
|
||
|
-install:
|
||
|
- @# Install directories
|
||
|
- @echo "Creating directories..."
|
||
|
- $(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(SBINDIR)
|
||
|
- $(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(LIBDIR)
|
||
|
- $(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(ETCDIR)
|
||
|
- $(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(PYTHON_PREFIX)
|
||
|
+install: install_py install_lib install_cfg
|
||
|
+
|
||
|
+# Install everything eccept python modules
|
||
|
+install_nopy: install_lib install_cfg
|
||
|
|
||
|
+install_py:
|
||
|
+ @# Install Python directories
|
||
|
+ @echo "Creating python directories..."
|
||
|
+ $(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(PYTHON_PREFIX)
|
||
|
@echo ""
|
||
|
@echo "Install python code in $(DESTDIR)$(PYTHON_PREFIX)"
|
||
|
$(PYTHON) setup.py install --no-compile --prefix $(DESTDIR)$(PYTHON_PREFIX)
|
||
|
|
||
|
+install_lib:
|
||
|
+ @# Install lib directories
|
||
|
+ @echo "Creating lib directories..."
|
||
|
+ $(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(LIBDIR)
|
||
|
@echo ""
|
||
|
@echo "Install LIBFILES in $(DESTDIR)$(LIBDIR)"
|
||
|
$(INSTALL) $(LIBFILES) -m 755 -o root -g root $(DESTDIR)$(LIBDIR)
|
||
|
|
||
|
+install_cfg:
|
||
|
+ @# Install config directories
|
||
|
+ @echo "Creating config directories..."
|
||
|
+ $(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(ETCDIR)
|
||
|
@echo ""
|
||
|
@echo "Install CONFILES in $(DESTDIR)$(ETCDIR)"
|
||
|
$(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(ETCDIR)/plugins
|