parent
1276ae4668
commit
3fdf2e556b
|
@ -12,7 +12,6 @@ config.status
|
|||
config.sub
|
||||
configure
|
||||
configure-stamp
|
||||
eet-config
|
||||
eet.pc
|
||||
eet_docs.tar.gz
|
||||
libtool
|
||||
|
|
|
@ -10,8 +10,6 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
|
|||
eet.spec \
|
||||
debian/changelog
|
||||
|
||||
bin_SCRIPTS = eet-config
|
||||
|
||||
EXTRA_DIST = AUTHORS COPYING COPYING-PLAIN eet.c.in \
|
||||
README.in README \
|
||||
eet.pc.in \
|
||||
|
@ -20,7 +18,6 @@ EXTRA_DIST = AUTHORS COPYING COPYING-PLAIN eet.c.in \
|
|||
debian/changelog.in \
|
||||
debian/control \
|
||||
debian/copyright \
|
||||
debian/eet-config.1 \
|
||||
debian/libeet0-dev.install \
|
||||
debian/libeet0.install \
|
||||
debian/rules
|
||||
|
|
|
@ -131,12 +131,9 @@ eet.pc
|
|||
eet.c
|
||||
src/Makefile
|
||||
src/lib/Makefile
|
||||
eet-config
|
||||
README
|
||||
eet.spec
|
||||
debian/changelog
|
||||
],[
|
||||
chmod +x eet-config
|
||||
])
|
||||
|
||||
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
.\" Hey, EMACS: -*- nroff -*-
|
||||
.TH EET 1 "oktober 3, 2002"
|
||||
.SH NAME
|
||||
eet-config \- script to get information about the installed version of Eet
|
||||
.SH SYNOPSIS
|
||||
.B eet-config [\-\-version] [\-\-libs] [\-\-cflags]
|
||||
.SH DESCRIPTION
|
||||
\fIeet-config\fP is a tool that is used by configure to determine the
|
||||
availability of eet and the compiler and linker flags that should be used to
|
||||
compile programs using it.
|
||||
.SH OPTIONS
|
||||
\fIeet-config\fP accepts the following options:
|
||||
.TP
|
||||
.B \-\-version
|
||||
Print the currently installed version of \fIeet\fP on the standard output.
|
||||
.TP
|
||||
.B \-\-libs
|
||||
Print the linker flags that are necessary to link a \fIeet\fP\-program.
|
||||
.TP
|
||||
.B \-\-cflags
|
||||
Print the compiler flags that are necessary to link a \fIeet\fP\-program.
|
||||
.SH SEE ALSO
|
||||
.BR eet (1).
|
||||
.SH AUTHOR
|
||||
This manual page was written by Sytse Wielinga
|
||||
<s.b.wielinga@student.utwente.nl> for the Debian GNU/Linux system (but may be
|
||||
used by others).
|
|
@ -1,4 +1,3 @@
|
|||
debian/tmp/usr/bin/eet-config
|
||||
debian/tmp/usr/lib/pkgconfig/*
|
||||
debian/tmp/usr/include/*
|
||||
debian/tmp/usr/lib/lib*.a
|
||||
|
|
|
@ -1,59 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
exec_prefix_set=no
|
||||
|
||||
usage="\
|
||||
Usage: eet-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
|
||||
|
||||
if test $# -eq 0; then
|
||||
echo "${usage}" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
while test $# -gt 0; do
|
||||
case "$1" in
|
||||
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
||||
*) optarg= ;;
|
||||
esac
|
||||
|
||||
case $1 in
|
||||
--prefix=*)
|
||||
prefix=$optarg
|
||||
if test $exec_prefix_set = no ; then
|
||||
exec_prefix=$optarg
|
||||
fi
|
||||
;;
|
||||
--prefix)
|
||||
echo $prefix
|
||||
;;
|
||||
--exec-prefix=*)
|
||||
exec_prefix=$optarg
|
||||
exec_prefix_set=yes
|
||||
;;
|
||||
--exec-prefix)
|
||||
echo $exec_prefix
|
||||
;;
|
||||
--version)
|
||||
echo @VERSION@
|
||||
;;
|
||||
--cflags)
|
||||
if test @prefix@/include != /usr/include ; then
|
||||
includes="-I@prefix@/include"
|
||||
fi
|
||||
echo $includes
|
||||
;;
|
||||
--libs)
|
||||
libdirs=-L@libdir@
|
||||
echo $libdirs -leet -lz -ljpeg @fnmatch_libs@ @winsock_libs@
|
||||
;;
|
||||
*)
|
||||
echo "${usage}" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue