# Check that we have an ffmpeg tree in here (can be a symlink)
test -d extras/ffmpeg
- if test ! -d CVS; then \
+ if test ! '(' -d CVS -o .svn ')'; then \
cd extras/ffmpeg \
- && CC=$(CC) ./configure --enable-pp --enable-zlib --disable-debug \
+ && CC=$(CC) ./configure --enable-pp --enable-gpl --enable-zlib --disable-debug \
&& cd libavcodec \
&& $(MAKE); \
fi
# Check that we have an faad2 tree in here (can be a symlink)
test -d extras/faad2
- if test ! -d CVS; then \
+ if test ! '(' -d CVS -o .svn ')'; then \
cd extras/faad2 \
&& touch `find . -name configure.in` \
&& touch `find . -name aclocal.m4` \
ifneq ($(shell dpkg-architecture -qDEB_BUILD_GNU_CPU),i386)
# Hackety hackety hack
- if test ! -d CVS; then \
+ if test ! '(' -d CVS -o .svn ')'; then \
cd extras/ffmpeg/libavcodec \
&& $(MAKE) clean \
&& rm -f Makefile.pic \
fi
# HACKETY HACKETY HACK
- if test ! -d CVS; then \
+ if test ! '(' -d CVS -o .svn ')'; then \
cd extras/faad2/libfaad \
&& $(MAKE) clean \
&& $(MAKE) AM_CFLAGS=-fPIC; \
# Check that we have an ffmpeg tree in here (can be a symlink)
test -d extras/ffmpeg
- -if test ! -d CVS; then cd extras/ffmpeg && $(MAKE) distclean; fi
+ -if test ! '(' -d CVS -o .svn ')'; then \
+ cd extras/ffmpeg && $(MAKE) distclean; \
+ fi
# Check that we have an faad2 tree in here (can be a symlink)
test -d extras/faad2
- -if test ! -d CVS; then cd extras/faad2 && $(MAKE) distclean; fi
+ -if test ! '(' -d CVS -o .svn ')'; then \
+ cd extras/faad2 && $(MAKE) distclean; \
+ fi
# Removed ugly cruft
rm -f src/misc/modules_builtin.h