Juan Hernandez has uploaded a new change for review.

Change subject: packaging: Replace /usr/lib with $(DATAROOT_DIR)
......................................................................

packaging: Replace /usr/lib with $(DATAROOT_DIR)

Otherwise make PREFIX=/whatever fails.

Change-Id: I3a2b89aa3a32fa93bc19b2be9511bd97e5ea617e
Signed-off-by: Juan Hernandez <juan.hernan...@redhat.com>
---
M Makefile
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/26/9426/1

diff --git a/Makefile b/Makefile
index 9e16c09..e272227 100644
--- a/Makefile
+++ b/Makefile
@@ -210,7 +210,7 @@
        @install -dm 755 $(DESTDIR)$(SYSCONF_DIR)/security/limits.d
        @install -dm 755 $(DESTDIR)$(SYSCONF_DIR)/rc.d/init.d
 
-       @install -dm 755 $(DESTDIR)/usr/lib/systemd/system
+       @install -dm 755 $(DESTDIR)$(DATAROOT_DIR)/systemd/system
        @install -dm 755 $(DESTDIR)$(SYSCONF_DIR)/tmpfiles.d
 
 install_artifacts:
@@ -389,7 +389,7 @@
        install -m 755 packaging/fedora/engine-service.py 
$(DESTDIR)$(DATA_DIR)/service
        install -m 644 packaging/fedora/engine-service.sysconfig 
$(DESTDIR)$(SYSCONF_DIR)/sysconfig/ovirt-engine
        install -m 644 packaging/fedora/engine-service.limits 
$(DESTDIR)$(SYSCONF_DIR)/security/limits.d/10-$(ENGINE_NAME).conf
-       install -m 644 packaging/fedora/engine-service.systemd 
$(DESTDIR)/usr/lib/systemd/system/ovirt-engine.service
+       install -m 644 packaging/fedora/engine-service.systemd 
$(DESTDIR)$(DATAROOT_DIR)/systemd/system/ovirt-engine.service
 
        # Install the links:
        ln -s $(DATA_DIR)/service/engine-service.py 
$(DESTDIR)$(BIN_DIR)/engine-service


--
To view, visit http://gerrit.ovirt.org/9426
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a2b89aa3a32fa93bc19b2be9511bd97e5ea617e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernan...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to