Powered by Linux
[PATCH] Makefile: drop superfluous trailing '/' — Semantic Matching Tool

[PATCH] Makefile: drop superfluous trailing '/'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Double '/' look a bit sloppy in output:

`smatch_data/kernel.no_return_funcs' -> `/usr/local/share/smatch//smatch_data/kernel.no_return_funcs'

Signed-off-by: Wolfram Sang <wolfram@xxxxxxxxxxxxx>
---
 Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index c659954..cfd6e0c 100644
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ MANDIR=$(PREFIX)/share/man
 MAN1DIR=$(MANDIR)/man1
 INCLUDEDIR=$(PREFIX)/include
 PKGCONFIGDIR=$(LIBDIR)/pkgconfig
-SMATCHDATADIR=$(PREFIX)/share/smatch/
+SMATCHDATADIR=$(PREFIX)/share/smatch
 
 SMATCH_FILES=smatch_flow.o smatch_conditions.o smatch_slist.o smatch_states.o \
 	smatch_helper.o smatch_type.o smatch_hooks.o smatch_function_hooks.o \
@@ -169,7 +169,7 @@ install: all-installable
 	$(Q)install -d $(DESTDIR)$(MAN1DIR)
 	$(Q)install -d $(DESTDIR)$(INCLUDEDIR)/sparse
 	$(Q)install -d $(DESTDIR)$(PKGCONFIGDIR)
-	$(Q)install -d $(DESTDIR)$(SMATCHDATADIR)/smatch_data/
+	$(Q)install -d $(DESTDIR)$(SMATCHDATADIR)/smatch_data
 	$(foreach f,$(INST_PROGRAMS),$(call INSTALL_EXEC,$f,$(BINDIR)))
 	$(foreach f,$(INST_MAN1),$(call INSTALL_FILE,$f,$(MAN1DIR)))
 	$(foreach f,$(LIBS),$(call INSTALL_FILE,$f,$(LIBDIR)))
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe smatch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux