Revision 5207, 1.1 KB checked in by munepi, 13 years ago (diff) |
---|
diff -up texlive-2011/build/texlive-20110705-source/Build\~ texlive-2011/build/texlive-20110705-source/Build
old | new | cd $TL_WORKDIR || exit 1 |
---|---|---|
100 | 100 | $TL_CONF_XDVI_TOOLKIT \ |
101 | 101 | $TL_CONFIGURE_ARGS \ |
102 | 102 | "$@" \ |
103 | && eval $TL_BUILD_ENV time $TL_MAKE $TL_MAKE_FLAGS $TL_TARGET | |
103 | || exit 1 | |
104 | ||
105 | (cd .. | |
106 | ## Avoid pollution from internal libraries. | |
107 | rm -rf ./libs/{expat,freetype2,gd,jpeg,libpng,libttf,ncurses,type1,t1lib,unzip,xpdf,zlib} || exit 1 | |
108 | ## XXX Hacks to avoid accidental version clashs with system libraries. | |
109 | hack_libs=( | |
110 | zlib | |
111 | libpng | |
112 | t1lib | |
113 | freetype2 | |
114 | gd | |
115 | xpdf | |
116 | ) | |
117 | for i in "${hack_libs[@]}"; do | |
118 | mkdir -p ./libs/${i} | |
119 | touch ./libs/${i}/configure | |
120 | done | |
121 | ) | |
122 | ||
123 | eval $TL_BUILD_ENV time $TL_MAKE $TL_MAKE_FLAGS $TL_TARGET | |
104 | 124 | |
105 | 125 | # Too arcane to try to propagate the exit status through a pipeline. |
106 | 126 | # Just use a temp file. |