libtthimage/install.sh

24 lines
589 B
Bash
Raw Normal View History

2022-06-28 20:35:00 +02:00
#!/bin/bash
echo "warning: $0 is an ugly installer"
DESTDIR="/usr/local/"
install -d $DESTDIR/lib/
install -m 0644 libtthimage.a $DESTDIR/lib/libtthimage.a
install -m 0644 tthimage.h $DESTDIR/include/tthimage.h
liste="genplot2 tga_cadre tga_effects tga_filtres tga_remap tga_tools \
tga_combine tga_television tga_dither tga_applymap tga_makehf15 \
tga_mires tga_incrust tga_pattern tga_equalize"
for binaire in $liste
do
# file Tools/$binaire
install --strip -v Tools/$binaire $DESTDIR/bin/
echo
done