Juan Hernandez has uploaded a new change for review. Change subject: packaging: Create /usr/lib in the Makefile ......................................................................
packaging: Create /usr/lib in the Makefile Otherwise make PREFIX=/whatever fails. Change-Id: I8f378d7397f1b45497b890a8920f8c5e2bbc17b4 Signed-off-by: Juan Hernandez <[email protected]> --- M Makefile 1 file changed, 4 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/27/9427/1 diff --git a/Makefile b/Makefile index 9e16c09..c7ddf70 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,7 @@ LOCALSTATE_DIR=$(PREFIX)/var ENGINE_STATE=$(LOCALSTATE_DIR)/lib/$(ENGINE_NAME) BIN_DIR=$(PREFIX)/bin +LIB_DIR=$(PREFIX)/lib SYSCONF_DIR=$(PREFIX)/etc DATAROOT_DIR=$(PREFIX)/share MAN_DIR=$(DATAROOT_DIR)/man @@ -198,6 +199,7 @@ create_dirs: @echo "*** Creating Directories" @install -dm 755 $(DESTDIR)$(BIN_DIR) + @install -dm 755 $(DESTDIR)$(LIB_DIR) @install -dm 755 $(DESTDIR)$(DATA_DIR)/bin @install -dm 755 $(DESTDIR)$(DATA_DIR)/conf @install -dm 755 $(DESTDIR)$(DATA_DIR)/db-backups @@ -210,7 +212,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)$(LIB_DIR)/systemd/system @install -dm 755 $(DESTDIR)$(SYSCONF_DIR)/tmpfiles.d install_artifacts: @@ -389,7 +391,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)$(LIB_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/9427 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8f378d7397f1b45497b890a8920f8c5e2bbc17b4 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
