diff options
Diffstat (limited to 'build')
-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 |