diff --git a/legacy/embryo/Makefile.am b/legacy/embryo/Makefile.am index 16a46bcd6b..6deecb4680 100644 --- a/legacy/embryo/Makefile.am +++ b/legacy/embryo/Makefile.am @@ -10,7 +10,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \ embryo.spec \ debian/changelog -bin_SCRIPTS = embryo-config +bin_SCRIPTS = EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN embryo.c.in gendoc \ Doxyfile \ diff --git a/legacy/embryo/configure.in b/legacy/embryo/configure.in index 29cfe7c7f2..2e39aff0a1 100644 --- a/legacy/embryo/configure.in +++ b/legacy/embryo/configure.in @@ -85,10 +85,7 @@ include/Makefile src/Makefile src/lib/Makefile src/bin/Makefile -embryo-config README embryo.spec debian/changelog -],[ -chmod +x embryo-config ]) diff --git a/legacy/embryo/embryo-config.in b/legacy/embryo/embryo-config.in deleted file mode 100644 index a5f9084dea..0000000000 --- a/legacy/embryo/embryo-config.in +++ /dev/null @@ -1,59 +0,0 @@ -#!/bin/sh - -prefix=@prefix@ -exec_prefix=@exec_prefix@ -exec_prefix_set=no - -usage="\ -Usage: embryo-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 -lembryo -lm - ;; - *) - echo "${usage}" 1>&2 - exit 1 - ;; - esac - shift -done - -exit 0 diff --git a/legacy/embryo/embryo.spec.in b/legacy/embryo/embryo.spec.in index 8b64c78d07..140d4d3103 100644 --- a/legacy/embryo/embryo.spec.in +++ b/legacy/embryo/embryo.spec.in @@ -69,7 +69,6 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT %{_libdir}/*.so %{_libdir}/*.la %{_libdir}/*.a -%{_bindir}/embryo-config %{_libdir}/pkgconfig/* %{_includedir}/*.h