12 lines
182 B
Bash
Executable File
12 lines
182 B
Bash
Executable File
#!/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
|