diff options
author | Scott Wood <swood@redhat.com> | 2020-04-06 17:14:03 -0500 |
---|---|---|
committer | John Kacur <jkacur@redhat.com> | 2020-04-07 10:41:19 -0400 |
commit | 3a432a4217e1d91bb1dbc2e0503942997c40f370 (patch) | |
tree | df4aced48593662fa367a2a745dda9cedbd6802c | |
parent | 3c6483c6e6e24a3e457c631f031f83e81b5e930c (diff) | |
download | rteval-3a432a4217e1d91bb1dbc2e0503942997c40f370.tar.gz |
Makefile: Remove non-distutil install leftovers
setup.py installs into /usr/local by default, but the makefile
is still creating directories in /usr that it doesn't install
anything into. Worse, the uninstall target removes things
from /usr rather than what was installed by "make install".
Signed-off-by: Scott Wood <swood@redhat.com>
Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r-- | Makefile | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -15,9 +15,6 @@ XMLRPCDIR := server DESTDIR := PREFIX := /usr DATADIR := $(DESTDIR)/$(PREFIX)/share -CONFDIR := $(DESTDIR)/etc -MANDIR := $(DESTDIR)/$(PREFIX)/share/man -PYLIB := $(DESTDIR)$(shell $(PYTHON) -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib()') LOADDIR := loadsource KLOAD := $(LOADDIR)/linux-5.1.tar.xz @@ -60,17 +57,6 @@ install_loads: $(LOADS) installdirs: [ -d $(DATADIR)/rteval ] || mkdir -p $(DATADIR)/rteval - [ -d $(CONFDIR) ] || mkdir -p $(CONFDIR) - [ -d $(MANDIR)/man8 ] || mkdir -p $(MANDIR)/man8 - [ -d $(PYLIB) ] || mkdir -p $(PYLIB) - [ -d $(DESTDIR)/usr/bin ] || mkdir -p $(DESTDIR)/usr/bin - -uninstall: - rm -f /usr/bin/rteval - rm -f $(CONFDIR)/rteval.conf - rm -f $(MANDIR)/man8/rteval.8.gz - rm -rf $(PYLIB)/rteval - rm -rf $(DATADIR)/rteval tarfile: rteval-$(VERSION).tar.bz2 |