Add "buildrequires." prefix on debian and fedora files

git-svn-id: svn://ultimatepp.org/upp/trunk@10646 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
amrein 2017-01-05 09:56:49 +00:00
parent 92e08ce347
commit cc4e63de47
2 changed files with 16 additions and 16 deletions

View file

@ -1,29 +1,29 @@
if which pkg-config
then
sed -e "s@-I((INCLUDES))@`pkg-config --cflags-only-I gtk+-2.0`@g" uppsrc/Makefile.in >uppsrc/Makefile
sed -e "s@-I((INCLUDES))@`pkg-config --cflags-only-I gtk+-2.0`@g" uppsrc/uMakefile.in >uppsrc/uMakefile
sed -e "s@((INCLUDES))@`pkg-config --cflags-only-I gtk+-2.0|sed -e s/-I//g -e \"s/ /;/g\"`@g" GCC.bm.in >GCC.bm
sed -e "s@((INCLUDES))@`pkg-config --cflags-only-I gtk+-2.0|sed -e s/-I//g -e \"s/ /;/g\"`@g" CLANG.bm.in >CLANG.bm
sed -e "s@-I((INCLUDES))@`pkg-config --cflags-only-I gtk+-2.0`@g" uppsrc/Makefile.in >uppsrc/Makefile
sed -e "s@-I((INCLUDES))@`pkg-config --cflags-only-I gtk+-2.0`@g" uppsrc/uMakefile.in >uppsrc/uMakefile
sed -e "s@((INCLUDES))@`pkg-config --cflags-only-I gtk+-2.0|sed -e s/-I//g -e \"s/ /;/g\"`@g" GCC.bm.in >GCC.bm
sed -e "s@((INCLUDES))@`pkg-config --cflags-only-I gtk+-2.0|sed -e s/-I//g -e \"s/ /;/g\"`@g" CLANG.bm.in >CLANG.bm
else
sed -e "s@((INCLUDES))@@g" uppsrc/Makefile.in >uppsrc/Makefile
sed -e "s@((INCLUDES))@@g" uppsrc/uMakefile.in >uppsrc/uMakefile
sed -e "s@((INCLUDES))@@g" GCC.bm.in >GCC.bm
sed -e "s@((INCLUDES))@@g" CLANG.bm.in >CLANG.bm
sed -e "s@((INCLUDES))@@g" uppsrc/Makefile.in >uppsrc/Makefile
sed -e "s@((INCLUDES))@@g" uppsrc/uMakefile.in >uppsrc/uMakefile
sed -e "s@((INCLUDES))@@g" GCC.bm.in >GCC.bm
sed -e "s@((INCLUDES))@@g" CLANG.bm.in >CLANG.bm
fi
if [ ! -f /usr/lib/libdl.so ]
then
sed -i -e s/-ldl//g uppsrc/Makefile
sed -i -e s/-ldl//g uppsrc/uMakefile
sed -i -e s/-ldl//g uppsrc/Makefile
sed -i -e s/-ldl//g uppsrc/uMakefile
fi
if which gmake
then
gmake -C uppsrc
gmake -C uppsrc -f uMakefile
gmake -C uppsrc
gmake -C uppsrc -f uMakefile
else
make -C uppsrc
make -C uppsrc -f uMakefile
make -C uppsrc
make -C uppsrc -f uMakefile
fi
cp uppsrc/ide.out ./theide

View file

@ -26,8 +26,8 @@ cp ~/Scripts/domake ~/upp.tmp/upp
cp ~/Scripts/doinstall ~/upp.tmp/upp
cp ~/Scripts/readme ~/upp.tmp/upp
cp ~/Scripts/upp-devel.spec ~/upp.tmp/upp
cp ~/Scripts/debian ~/upp.tmp/upp
cp ~/Scripts/fedora ~/upp.tmp/upp
cp ~/Scripts/debian ~/upp.tmp/upp/buildrequires.debian
cp ~/Scripts/fedora ~/upp.tmp/upp/buildrequires.fedora
cp ~/Scripts/GCCMK.bm ~/upp.tmp/upp/GCC.bm.in
cp ~/Scripts/CLANGMK.bm ~/upp.tmp/upp/CLANG.bm.in