aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2018-05-26 13:05:11 +0100
committerBryn M. Reeves <bmr@redhat.com>2018-05-26 20:59:46 +0100
commit8c54555d9647a501356a1097ab181b9f37ab90dd (patch)
tree95bc63b4963bfc3542707c4312ff4887f9308efa /Makefile
parent2c04f56675b36f59ab4d4cb455efeb7d71badb74 (diff)
downloadsos-8c54555d9647a501356a1097ab181b9f37ab90dd.tar.gz
[build] kill sos/__init__.py.in
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 30298a74..306d1dd5 100644
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,7 @@ docs:
build:
for d in $(SUBDIRS); do make -C $$d; [ $$? = 0 ] || exit 1 ; done
-install: updateversion
+install:
mkdir -p $(DESTDIR)/usr/sbin
mkdir -p $(DESTDIR)/usr/share/man/man1
mkdir -p $(DESTDIR)/usr/share/man/man5
@@ -52,9 +52,6 @@ install: updateversion
install -m644 $(NAME).conf $(DESTDIR)/etc/$(NAME).conf
for d in $(SUBDIRS); do make DESTDIR=`cd $(DESTDIR); pwd` -C $$d install; [ $$? = 0 ] || exit 1; done
-updateversion:
- sed 's/@SOSVERSION@/$(VERSION)/g' sos/__init__.py.in > sos/__init__.py
-
$(NAME)-$(VERSION).tar.gz: clean
@mkdir -p $(ARCHIVE_DIR)
@tar -cv sosreport sos docs man po sos.conf AUTHORS LICENSE README.md sos.spec Makefile | tar -x -C $(ARCHIVE_DIR)