spec-create: Select makefile as build_techology when makefiles or GNUmalefiles are found, not only Makefiles

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
Davide Madrisan 2012-05-09 23:07:31 +02:00
parent d7edada922
commit 6adc14a8a1
2 changed files with 9 additions and 1 deletions

View File

@ -38,6 +38,12 @@ Changes in version 1.12.0
* tests/test01_pkgquality - Davide Madrisan: * tests/test01_pkgquality - Davide Madrisan:
New test: check for libraries with undefined symbols after relocation. New test: check for libraries with undefined symbols after relocation.
+ bugfix
* spec-create - Davide Madrisan:
Select makefile as build_techology when a makefile (downcase letters) or a
GNUmalefile is found, not only a Makefile (with a capital letter).
(Bug reported by Silvan Calarco.)
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Changes in version 1.10.0 Changes in version 1.10.0

View File

@ -771,7 +771,9 @@ ${standard_docs_devel:+$standard_docs_devel }$currdoc"
build_techology="cmake" build_techology="cmake"
elif [ -x $tmpdir/$pck_rootdir/configure ]; then elif [ -x $tmpdir/$pck_rootdir/configure ]; then
build_techology="autotools" build_techology="autotools"
elif [ -e $tmpdir/$pck_rootdir/Makefile ]; then elif [ -e $tmpdir/$pck_rootdir/Makefile -o \
-e $tmpdir/$pck_rootdir/makefile -o \
-e $tmpdir/$pck_rootdir/GNUmakefile ]; then
build_techology="makefile" build_techology="makefile"
elif [ -e $tmpdir/$pck_rootdir/SConstruct -o \ elif [ -e $tmpdir/$pck_rootdir/SConstruct -o \
-e $tmpdir/$pck_rootdir/Sconstruct -o \ -e $tmpdir/$pck_rootdir/Sconstruct -o \