From b4b47cf2835010c49d052bc10918b49266e7f973 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 09 May 2013 17:49:55 -0400 Subject: Makefile.in: Remove some unnecessary sed commands. For some reason, when refactoring the build system, I thought comment characters ("#") couldn't be used in makefile commands. They can't be used in macro definitions, though. --- diff --git a/Makefile.in b/Makefile.in index 3a7bde9..bd89464 100644 --- a/Makefile.in +++ b/Makefile.in @@ -186,7 +186,7 @@ install-archtab: @mkdir -p '$(DESTDIR)/$(archtabdir)' @set -e; for f in $(archtab); do \ printf ' INSTALL %s\n' "$${f}"; \ - ff="$$(printf '%s' "$${f}" | sed 's|^[^/]*/||')"; \ + ff="$${f#*/}"; \ mkdir -p "$(DESTDIR)/$(archtabdir)/$${ff%/?*}"; \ cp "$(srcdir)/$${f}" "$(DESTDIR)/$(archtabdir)/$${ff}"; \ chmod 644 "$(DESTDIR)/$(archtabdir)/$${ff}"; \ @@ -222,7 +222,7 @@ uninstall-locale: uninstall-archtab: @set -e; for f in $(archtab); do \ printf ' RM %s\n' "$${f}"; \ - ff="$$(printf '%s' "$${f}" | sed 's|^[^/]*/||')"; \ + ff="$${f#*/}"; \ rm -f "$(DESTDIR)/$(archtabdir)/$${ff}"; \ rmdir "$(DESTDIR)/$(archtabdir)/$${ff%/?*}" 2>/dev/null || \ true; \ -- cgit v0.9.1