Blame makedumpfile-1.7.2-0002-Makefile-Remove-version-from-usr-share-makedum.patch

2ba6f6
From f1d84a5d69d81bc7a89aefae504be88df1e50693 Mon Sep 17 00:00:00 2001
2ba6f6
From: Leonidas Spyropoulos <artafinde@archlinux.org>
2ba6f6
Date: Fri, 21 Oct 2022 11:24:59 +0100
2ba6f6
Subject: [PATCH 2/7] [PATCH] Makefile: Remove version from
2ba6f6
 /usr/share/makedumpfile
2ba6f6
2ba6f6
Version specific paths doesn't make sense at /usr/share/makedumpfile.
2ba6f6
This assumes you will have only one version installed which on a normal
2ba6f6
system it makes sense and devs can always specify different DESTDIR per
2ba6f6
versions.
2ba6f6
2ba6f6
Fixes: https://github.com/makedumpfile/makedumpfile/issues/10
2ba6f6
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
2ba6f6
---
2ba6f6
 Makefile | 6 +++---
2ba6f6
 1 file changed, 3 insertions(+), 3 deletions(-)
2ba6f6
2ba6f6
diff --git a/makedumpfile-1.7.2/Makefile b/makedumpfile-1.7.2/Makefile
2ba6f6
index f982aaf..a289e41 100644
2ba6f6
--- a/makedumpfile-1.7.2/Makefile
2ba6f6
+++ b/makedumpfile-1.7.2/Makefile
2ba6f6
@@ -130,6 +130,6 @@ install:
2ba6f6
 	install -m 755 -t ${DESTDIR}/usr/sbin makedumpfile $(VPATH)makedumpfile-R.pl
2ba6f6
 	install -m 644 -t ${DESTDIR}/usr/share/man/man8 makedumpfile.8
2ba6f6
 	install -m 644 -t ${DESTDIR}/usr/share/man/man5 makedumpfile.conf.5
2ba6f6
-	mkdir -p ${DESTDIR}/usr/share/makedumpfile-${VERSION}/eppic_scripts
2ba6f6
-	install -m 644 -D $(VPATH)makedumpfile.conf ${DESTDIR}/usr/share/makedumpfile-${VERSION}/makedumpfile.conf.sample
2ba6f6
-	install -m 644 -t ${DESTDIR}/usr/share/makedumpfile-${VERSION}/eppic_scripts/ $(VPATH)eppic_scripts/*
2ba6f6
+	mkdir -p ${DESTDIR}/usr/share/makedumpfile/eppic_scripts
2ba6f6
+	install -m 644 -D $(VPATH)makedumpfile.conf ${DESTDIR}/usr/share/makedumpfile/makedumpfile.conf.sample
2ba6f6
+	install -m 644 -t ${DESTDIR}/usr/share/makedumpfile/eppic_scripts/ $(VPATH)eppic_scripts/*
2ba6f6
-- 
2ba6f6
2.33.1
2ba6f6