mds/app-admin/mds-core/files/mds-2.4.0-install-target-1.patch
geos_one 45dd5f1a70 add mds-core
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2122 6952d904-891a-0410-993b-d76249ca496b
2010-05-01 12:09:34 +00:00

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