diff options
author | Petr Spacek <pspacek@redhat.com> | 2014-10-28 21:23:18 +0100 |
---|---|---|
committer | Petr Spacek <pspacek@redhat.com> | 2014-10-28 21:23:32 +0100 |
commit | 0ef878020877de725ff244c4d3f44697b6efd3ab (patch) | |
tree | 3d6f38d13a18af5404d952a704f4d6d94b423bee /Makefile | |
parent | 603f897997813af626e6855c4f8a8add08a045bb (diff) |
add support for DNF package manager
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -17,6 +17,7 @@ PYTHON=python build: etckeeper.spec -$(PYTHON) ./etckeeper-bzr/__init__.py build || echo "** bzr support not built" + -$(PYTHON) ./etckeeper-dnf/etckeeper.py build || echo "** DNF support not built" install: mkdir -p $(DESTDIR)$(etcdir)/etckeeper/ $(DESTDIR)$(vardir)/cache/etckeeper/ @@ -44,6 +45,9 @@ ifeq ($(HIGHLEVEL_PACKAGE_MANAGER),yum) mkdir -p $(DESTDIR)$(etcdir)/yum/pluginconf.d $(INSTALL_DATA) yum-etckeeper.conf $(DESTDIR)$(etcdir)/yum/pluginconf.d/etckeeper.conf endif +ifeq ($(HIGHLEVEL_PACKAGE_MANAGER),dnf) + -$(PYTHON) ./etckeeper-dnf/etckeeper.py install --root=$(DESTDIR) ${PYTHON_INSTALL_OPTS} || echo "** DNF support not installed" +endif ifeq ($(HIGHLEVEL_PACKAGE_MANAGER),zypper) mkdir -p $(DESTDIR)$(prefix)/lib/zypp/plugins/commit $(INSTALL) zypper-etckeeper.py $(DESTDIR)$(prefix)/lib/zypp/plugins/commit/zypper-etckeeper.py |