12 lines
182 B
Bash
12 lines
182 B
Bash
#!/bin/sh -e
|
|
make
|
|
ln -s compress uncompress
|
|
|
|
mkdir -p "$1/usr/share/man/man1/" "$1/usr/bin/"
|
|
|
|
for man in *.1
|
|
do
|
|
mv $man "$1/usr/share/man/man1/"
|
|
mv ${man%%.*} "$1/usr/bin/"
|
|
done
|