diff options
author | P. J. McDermott <pjm@nac.net> | 2012-06-21 13:28:44 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-06-21 13:28:44 (EDT) |
commit | 2c0f711d9bf87797d8de5a9a6e3fad2eeb31076d (patch) | |
tree | 838b6bc76d39adc36970c3bbed081cf2a01db6c7 | |
parent | 8e30736855ca14ed2f58a4c53a85d75155634025 (diff) |
-rwxr-xr-x | build | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -11,7 +11,11 @@ opkhelper.buildstamp: ../src/configure --prefix=/usr --libdir=/usr/share && \ make && make DESTDIR=$$(pwd)/../dest install mv dest/usr/share/opkhelper dest/usr/share/opkhelper-$(VER) - for file in dest/usr/bin/* dest/usr/share/man/man*/*; do \ + for file in dest/usr/bin/*; do \ + basename="$${file##*/}"; \ + mv "$${file}" "$${file}-$(VER)"; \ + done + for file in dest/usr/share/man/man*/*; do \ basename="$${file##*/}"; \ mv "$${file}" "$${file%.*}-$(VER).$${basename##*.}"; \ done |