Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 1 | From 1339348c5b69b32378a638d65b16297d29c5fa22 Mon Sep 17 00:00:00 2001 |
| 2 | From: Changqing Li <changqing.li@windriver.com> |
| 3 | Date: Tue, 7 Nov 2023 16:06:49 +0800 |
| 4 | Subject: [PATCH] Makefile: update the hardcode path to bindir/mandir |
| 5 | |
| 6 | Update the hardcode path to bindir/mandir |
| 7 | |
| 8 | Upstream-Status: Pending [ Send to cpuid@etallen.com ] |
| 9 | |
| 10 | Signed-off-by: Changqing Li <changqing.li@windriver.com> |
| 11 | --- |
| 12 | Makefile | 8 ++++---- |
| 13 | 1 file changed, 4 insertions(+), 4 deletions(-) |
| 14 | |
| 15 | diff --git a/Makefile b/Makefile |
| 16 | index 828d2b1..365e26d 100644 |
| 17 | --- a/Makefile |
| 18 | +++ b/Makefile |
| 19 | @@ -55,10 +55,10 @@ cpuinfo2cpuid.man.gz: cpuinfo2cpuid.man |
| 20 | gzip < $< > $@ |
| 21 | |
| 22 | install: $(PROG) $(PROG).man.gz cpuinfo2cpuid cpuinfo2cpuid.man.gz |
| 23 | - install -D $(INSTALL_STRIP) -m 755 $(PROG) $(BUILDROOT)/usr/bin/$(PROG) |
| 24 | - install -D -m 444 $(PROG).man.gz $(BUILDROOT)/usr/share/man/man1/$(PROG).1.gz |
| 25 | - install -D -m 755 cpuinfo2cpuid $(BUILDROOT)/usr/bin/cpuinfo2cpuid |
| 26 | - install -D -m 444 cpuinfo2cpuid.man.gz $(BUILDROOT)/usr/share/man/man1/cpuinfo2cpuid.1.gz |
| 27 | + install -D $(INSTALL_STRIP) -m 755 $(PROG) $(BUILDROOT)${bindir}/$(PROG) |
| 28 | + install -D -m 444 $(PROG).man.gz $(BUILDROOT)${mandir}/man1/$(PROG).1.gz |
| 29 | + install -D -m 755 cpuinfo2cpuid $(BUILDROOT)${bindir}/cpuinfo2cpuid |
| 30 | + install -D -m 444 cpuinfo2cpuid.man.gz $(BUILDROOT)${mandir}/man1/cpuinfo2cpuid.1.gz |
| 31 | |
| 32 | clean: |
| 33 | rm -f $(PROG) $(PROG).i386 $(PROG).x86_64 |
| 34 | -- |
| 35 | 2.25.1 |
| 36 | |