Linux-rt-users archive on lore.kernel.org
 help / color / Atom feed
* [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	[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, back to index

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

Linux-rt-users archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-rt-users/0 linux-rt-users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-rt-users linux-rt-users/ https://lore.kernel.org/linux-rt-users \
		linux-rt-users@vger.kernel.org
	public-inbox-index linux-rt-users

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-rt-users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git