* [PATCH rt-tests] Makefile: don't create empty directories in install target
@ 2019-11-17 21:44 Uwe Kleine-König
2019-11-18 19:25 ` John Kacur
0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2019-11-17 21:44 UTC (permalink / raw)
To: Clark Williams, John Kacur; +Cc: linux-rt-users
Both $(prefix)/src and $(prefix)/share/man/man4 are unused since commit
2829763fdd79 ("rt-tests: Remove install and build of backfire and
sendme")
---
Makefile | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index b57340874213..6eee3d8f7845 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,6 @@ DESTDIR ?=
prefix ?= /usr/local
bindir ?= $(prefix)/bin
mandir ?= $(prefix)/share/man
-srcdir ?= $(prefix)/src
CFLAGS ?= -Wall -Wno-nonnull
CPPFLAGS += -D_GNU_SOURCE -Isrc/include
@@ -177,8 +176,7 @@ rebuild:
.PHONY: install
install: all install_hwlatdetect
- mkdir -p "$(DESTDIR)$(bindir)" "$(DESTDIR)$(mandir)/man4"
- mkdir -p "$(DESTDIR)$(srcdir)" "$(DESTDIR)$(mandir)/man8"
+ mkdir -p "$(DESTDIR)$(bindir)" "$(DESTDIR)$(mandir)/man8"
cp $(TARGETS) "$(DESTDIR)$(bindir)"
install src/queuelat/get_cpuinfo_mhz.sh "$(DESTDIR)$(bindir)"
install src/queuelat/determine_maximum_mpps.sh "${DESTDIR}${bindir}"
--
2.24.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH rt-tests] Makefile: don't create empty directories in install target
2019-11-17 21:44 [PATCH rt-tests] Makefile: don't create empty directories in install target Uwe Kleine-König
@ 2019-11-18 19:25 ` John Kacur
0 siblings, 0 replies; 2+ messages in thread
From: John Kacur @ 2019-11-18 19:25 UTC (permalink / raw)
To: Uwe Kleine-König; +Cc: Clark Williams, linux-rt-users
[-- Attachment #1: Type: text/plain, Size: 1137 bytes --]
On Sun, 17 Nov 2019, Uwe Kleine-König wrote:
> Both $(prefix)/src and $(prefix)/share/man/man4 are unused since commit
> 2829763fdd79 ("rt-tests: Remove install and build of backfire and
> sendme")
> ---
> Makefile | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index b57340874213..6eee3d8f7845 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -27,7 +27,6 @@ DESTDIR ?=
> prefix ?= /usr/local
> bindir ?= $(prefix)/bin
> mandir ?= $(prefix)/share/man
> -srcdir ?= $(prefix)/src
>
> CFLAGS ?= -Wall -Wno-nonnull
> CPPFLAGS += -D_GNU_SOURCE -Isrc/include
> @@ -177,8 +176,7 @@ rebuild:
>
> .PHONY: install
> install: all install_hwlatdetect
> - mkdir -p "$(DESTDIR)$(bindir)" "$(DESTDIR)$(mandir)/man4"
> - mkdir -p "$(DESTDIR)$(srcdir)" "$(DESTDIR)$(mandir)/man8"
> + mkdir -p "$(DESTDIR)$(bindir)" "$(DESTDIR)$(mandir)/man8"
> cp $(TARGETS) "$(DESTDIR)$(bindir)"
> install src/queuelat/get_cpuinfo_mhz.sh "$(DESTDIR)$(bindir)"
> install src/queuelat/determine_maximum_mpps.sh "${DESTDIR}${bindir}"
> --
> 2.24.0
>
>
Signed-off-by: John Kacur <jkacur@redhat.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-11-18 19:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-17 21:44 [PATCH rt-tests] Makefile: don't create empty directories in install target Uwe Kleine-König
2019-11-18 19:25 ` John Kacur
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).