install script is on the way

This commit is contained in:
tth 2022-06-28 20:35:00 +02:00
parent fbfde6116a
commit cb94093c30
4 changed files with 61 additions and 2 deletions

View File

@ -6,7 +6,7 @@
include ../Paramakes.mk include ../Paramakes.mk
DEPS = ../tthimage.h Makefile tga_outils.h DEPS = ../tthimage.h Makefile tga_outils.h ../libtthimage.a
all: genplot2 \ all: genplot2 \
tga_cadre tga_effects tga_filtres tga_remap tga_tools \ tga_cadre tga_effects tga_filtres tga_remap tga_tools \

36
Tools/README.md Normal file
View File

@ -0,0 +1,36 @@
# Tools
Pour utiliser toutes ces fonction, il y a une collection d'utilitaires
spécialisés.
## genplot2
## tga_applymap
## tga_cadre
## tga_combine
## tga_dither
## tga_effects
## tga_equalize
## tga_filtres
## tga_incrust
## tga_makehf15
## tga_mires
## tga_pattern
## tga_remap
## tga_television
## tga_tools

23
install.sh Executable file
View File

@ -0,0 +1,23 @@
#!/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

View File

@ -4,7 +4,7 @@
http:///la.buvette.org/devel/libimage/ http:///la.buvette.org/devel/libimage/
*/ */
#ifndef IMAGE_VERSION_STRING #ifndef IMAGE_VERSION_STRING
#define IMAGE_VERSION_STRING "0.4.49" #define IMAGE_VERSION_STRING "0.4.50"
/*::------------------------------------------------------------------::*/ /*::------------------------------------------------------------------::*/
/* /*