summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-05-08 13:24:11 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-05-08 13:24:11 (EDT)
commitdfbd13cb7e81506c6d9237f5f4b4ab973f6a006a (patch)
treebcf92f33a05a4bd0ae17b256fdc16c692d2afcde
parentd269c95c0d85d9846ddfb5ddef2c5cac398f944e (diff)
Makefile.in: Get true basenames in (un)installs.
-rw-r--r--Makefile.in16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in
index 101111d..797ed2d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -136,7 +136,7 @@ install-bin:
@mkdir -p '$(DESTDIR)/$(bindir)'
@for f in $(bin); do \
printf ' INSTALL %s\n' "$${f}"; \
- ff="$$(printf '%s' "$${f}" | sed 's|^[^/]*/||')"; \
+ ff="$$(printf '%s' "$${f}" | sed 's|^.*/||')"; \
cp "$${f}" "$(DESTDIR)/$(bindir)/$${ff}"; \
chmod 755 "$(DESTDIR)/$(bindir)/$${ff}"; \
done
@@ -144,7 +144,7 @@ install-pkglib:
@mkdir -p '$(DESTDIR)/$(pkglibdir)'
@for f in $(pkglib); do \
printf ' INSTALL %s\n' "$${f}"; \
- ff="$$(printf '%s' "$${f}" | sed 's|^[^/]*/||')"; \
+ ff="$$(printf '%s' "$${f}" | sed 's|^.*/||')"; \
cp "$${f}" "$(DESTDIR)/$(pkglibdir)/$${ff}"; \
chmod 644 "$(DESTDIR)/$(pkglibdir)/$${ff}"; \
done
@@ -152,7 +152,7 @@ install-pkglibbuildsystem:
@mkdir -p '$(DESTDIR)/$(pkglibbuildsystemdir)'
@for f in $(pkglibbuildsystem); do \
printf ' INSTALL %s\n' "$${f}"; \
- ff="$$(printf '%s' "$${f}" | sed 's|^[^/]*/||')"; \
+ ff="$$(printf '%s' "$${f}" | sed 's|^.*/||')"; \
cp "$${f}" "$(DESTDIR)/$(pkglibbuildsystemdir)/$${ff}"; \
chmod 644 "$(DESTDIR)/$(pkglibbuildsystemdir)/$${ff}"; \
done
@@ -161,7 +161,7 @@ install-man1:
@mkdir -p '$(DESTDIR)/$(man1dir)'
@for f in $(man1); do \
printf ' INSTALL %s\n' "$${f}"; \
- ff="$$(printf '%s' "$${f}" | sed 's|^[^/]*/||')"; \
+ ff="$$(printf '%s' "$${f}" | sed 's|^.*/||')"; \
cp "$${f}" "$(DESTDIR)/$(man1dir)/$${ff}"; \
chmod 644 "$(DESTDIR)/$(man1dir)/$${ff}"; \
done
@@ -181,26 +181,26 @@ uninstall-exec: uninstall-bin uninstall-pkglib uninstall-pkglibbuildsystem
uninstall-bin:
@for f in $(bin); do \
printf ' RM %s\n' "$${f}"; \
- ff="$$(printf '%s' "$${f}" | sed 's|^[^/]*/||')"; \
+ ff="$$(printf '%s' "$${f}" | sed 's|^.*/||')"; \
rm -f "$(DESTDIR)/$(bindir)/$${ff}"; \
done
uninstall-pkglib:
@for f in $(pkglib); do \
printf ' RM %s\n' "$${f}"; \
- ff="$$(printf '%s' "$${f}" | sed 's|^[^/]*/||')"; \
+ ff="$$(printf '%s' "$${f}" | sed 's|^.*/||')"; \
rm -f "$(DESTDIR)/$(pkglibdir)/$${ff}"; \
done
uninstall-pkglibbuildsystem:
@for f in $(pkglibbuildsystem); do \
printf ' RM %s\n' "$${f}"; \
- ff="$$(printf '%s' "$${f}" | sed 's|^[^/]*/||')"; \
+ ff="$$(printf '%s' "$${f}" | sed 's|^.*/||')"; \
rm -f "$(DESTDIR)/$(pkglibbuildsystemdir)/$${ff}"; \
done
uninstall-data: uninstall-man1 uninstall-locale
uninstall-man1:
@for f in $(man1); do \
printf ' RM %s\n' "$${f}"; \
- ff="$$(printf '%s' "$${f}" | sed 's|^[^/]*/||')"; \
+ ff="$$(printf '%s' "$${f}" | sed 's|^.*/||')"; \
rm -f "$(DESTDIR)/$(man1dir)/$${ff}"; \
done
uninstall-locale: