~cosme/ubuntu/precise/freeimage/freeimage-3.15.1

« back to all changes in this revision

Viewing changes to gensrclist.sh

  • Committer: Bazaar Package Importer
  • Author(s): Cosme Domínguez Díaz
  • Date: 2010-07-20 13:42:15 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100720134215-xt1454zaedv3b604
Tags: 3.13.1-0ubuntu1
* New upstream release. Closes: (LP: #607800)
 - Updated debian/freeimage-get-orig-source script.
 - Removing no longer necessary debian/patches/* and
   the patch system in debian/rules.
 - Updated debian/rules to work with the new Makefiles.
 - Drop from -O3 to -O2 and use lzma compression saves
   ~10 MB of free space. 
* lintian stuff
 - fixed debhelper-but-no-misc-depends
 - fixed ldconfig-symlink-missing-for-shlib

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
DIRLIST=". Source Source/Metadata Source/FreeImageToolkit Source/LibJPEG Source/LibMNG Source/LibPNG Source/LibTIFF Source/ZLib Source/LibOpenJPEG Source/OpenEXR Source/OpenEXR/Half Source/OpenEXR/Iex Source/OpenEXR/IlmImf Source/OpenEXR/IlmThread Source/OpenEXR/Imath"
4
 
 
5
 
echo "VER_MAJOR = 3" > Makefile.srcs
6
 
echo "VER_MINOR = 10.0" >> Makefile.srcs
7
 
 
8
 
echo -n "SRCS = " >> Makefile.srcs
9
 
for DIR in $DIRLIST; do
10
 
        VCPRJS=`echo $DIR/*.2003.vcproj`
11
 
        if [ "$VCPRJS" != "$DIR/*.2003.vcproj" ]; then
12
 
                egrep 'RelativePath=.*\.(c|cpp)' $DIR/*.2003.vcproj | cut -d'"' -f2 | tr '\\' '/' | awk '{print "'$DIR'/"$0}' | tr '\r\n' '  ' | tr -s ' ' >> Makefile.srcs
13
 
        fi
14
 
done
15
 
echo >> Makefile.srcs
16
 
 
17
 
echo -n "INCLS = " >> Makefile.srcs
18
 
find . -name "*.h" -print | xargs echo >> Makefile.srcs
19
 
echo >> Makefile.srcs
20
 
 
21
 
echo -n "INCLUDE =" >> Makefile.srcs
22
 
for DIR in $DIRLIST; do
23
 
        echo -n " -I$DIR" >> Makefile.srcs
24
 
done
25
 
echo >> Makefile.srcs
26
 
 
 
1
#!/bin/sh
 
2
 
 
3
DIRLIST=". Source Source/Metadata Source/FreeImageToolkit Source/LibJPEG Source/LibMNG Source/LibPNG Source/LibTIFF Source/ZLib Source/LibOpenJPEG Source/OpenEXR Source/OpenEXR/Half Source/OpenEXR/Iex Source/OpenEXR/IlmImf Source/OpenEXR/IlmThread Source/OpenEXR/Imath Source/LibRawLite Source/LibRawLite/dcraw Source/LibRawLite/internal Source/LibRawLite/libraw Source/LibRawLite/src"
 
4
 
 
5
echo "VER_MAJOR = 3" > Makefile.srcs
 
6
echo "VER_MINOR = 13.1" >> Makefile.srcs
 
7
 
 
8
echo -n "SRCS = " >> Makefile.srcs
 
9
for DIR in $DIRLIST; do
 
10
        VCPRJS=`echo $DIR/*.2003.vcproj`
 
11
        if [ "$VCPRJS" != "$DIR/*.2003.vcproj" ]; then
 
12
                egrep 'RelativePath=.*\.(c|cpp)' $DIR/*.2003.vcproj | cut -d'"' -f2 | tr '\\' '/' | awk '{print "'$DIR'/"$0}' | tr '\r\n' '  ' | tr -s ' ' >> Makefile.srcs
 
13
        fi
 
14
done
 
15
echo >> Makefile.srcs
 
16
 
 
17
echo -n "INCLS = " >> Makefile.srcs
 
18
find . -name "*.h" -print | xargs echo >> Makefile.srcs
 
19
echo >> Makefile.srcs
 
20
 
 
21
echo -n "INCLUDE =" >> Makefile.srcs
 
22
for DIR in $DIRLIST; do
 
23
        echo -n " -I$DIR" >> Makefile.srcs
 
24
done
 
25
echo >> Makefile.srcs
 
26