mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-26 09:10:53 +00:00
2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
Simplify sed expressions and improve awk * Makefile.in (install-local): simplify sed expression * gencmdlist.sh: likewise * genmoddep.awk: avoid adding module as a dependency of itself
This commit is contained in:
1 parent
5b889789b1
commit
fb14123e01
4 files changed
+14
-4
No files matched your search
+1
-1
@@ -213,7 +213,7 @@ install-local: all
|
||||
for file in $$list; do \
|
||||
if test -f "$$file"; then dir=; else dir="$(srcdir)/"; fi; \
|
||||
dest="`echo $$file | sed 's,include/,,'`"; \
|
||||
destdir="`echo $$dest | sed 's,\(^\|/\)[^/]*$$,,g'`"; \
|
||||
destdir="`echo $$dest | sed 's,[^/]*$$,,g'`"; \
|
||||
$(mkinstalldirs) $(DESTDIR)$(includedir)/$$destdir; \
|
||||
if test -f "$$dir$$file"; then \
|
||||
$(INSTALL_DATA) $$dir$$file $(DESTDIR)$(includedir)/$$dest; \
|
||||
|
||||
Reference in new issue
Block a user