Commit 84d63bc7 authored by Sam Hocevar's avatar Sam Hocevar

* debian/rules: fixed shell syntax.

parent 15d01be8
...@@ -87,7 +87,7 @@ configure-stamp: ...@@ -87,7 +87,7 @@ configure-stamp:
# Check that we have an ffmpeg tree in here (can be a symlink) # Check that we have an ffmpeg tree in here (can be a symlink)
test -d extras/ffmpeg test -d extras/ffmpeg
if test ! '(' -d CVS -o .svn ')'; then \ if test ! '(' -d CVS -o -d .svn ')'; then \
cd extras/ffmpeg \ cd extras/ffmpeg \
&& CC=$(CC) ./configure --enable-pp --enable-gpl --enable-zlib --disable-debug \ && CC=$(CC) ./configure --enable-pp --enable-gpl --enable-zlib --disable-debug \
&& cd libavcodec \ && cd libavcodec \
...@@ -96,7 +96,7 @@ configure-stamp: ...@@ -96,7 +96,7 @@ configure-stamp:
# Check that we have an faad2 tree in here (can be a symlink) # Check that we have an faad2 tree in here (can be a symlink)
test -d extras/faad2 test -d extras/faad2
if test ! '(' -d CVS -o .svn ')'; then \ if test ! '(' -d CVS -o -d .svn ')'; then \
cd extras/faad2 \ cd extras/faad2 \
&& touch `find . -name configure.in` \ && touch `find . -name configure.in` \
&& touch `find . -name aclocal.m4` \ && touch `find . -name aclocal.m4` \
...@@ -125,7 +125,7 @@ build-stamp: ...@@ -125,7 +125,7 @@ build-stamp:
ifneq ($(shell dpkg-architecture -qDEB_BUILD_GNU_CPU),i386) ifneq ($(shell dpkg-architecture -qDEB_BUILD_GNU_CPU),i386)
# Hackety hackety hack # Hackety hackety hack
if test ! '(' -d CVS -o .svn ')'; then \ if test ! '(' -d CVS -o -d .svn ')'; then \
cd extras/ffmpeg/libavcodec \ cd extras/ffmpeg/libavcodec \
&& $(MAKE) clean \ && $(MAKE) clean \
&& rm -f Makefile.pic \ && rm -f Makefile.pic \
...@@ -135,7 +135,7 @@ ifneq ($(shell dpkg-architecture -qDEB_BUILD_GNU_CPU),i386) ...@@ -135,7 +135,7 @@ ifneq ($(shell dpkg-architecture -qDEB_BUILD_GNU_CPU),i386)
fi fi
# HACKETY HACKETY HACK # HACKETY HACKETY HACK
if test ! '(' -d CVS -o .svn ')'; then \ if test ! '(' -d CVS -o -d .svn ')'; then \
cd extras/faad2/libfaad \ cd extras/faad2/libfaad \
&& $(MAKE) clean \ && $(MAKE) clean \
&& $(MAKE) AM_CFLAGS=-fPIC; \ && $(MAKE) AM_CFLAGS=-fPIC; \
...@@ -154,12 +154,12 @@ clean: ...@@ -154,12 +154,12 @@ clean:
# Check that we have an ffmpeg tree in here (can be a symlink) # Check that we have an ffmpeg tree in here (can be a symlink)
test -d extras/ffmpeg test -d extras/ffmpeg
-if test ! '(' -d CVS -o .svn ')'; then \ -if test ! '(' -d CVS -o -d .svn ')'; then \
cd extras/ffmpeg && $(MAKE) distclean; \ cd extras/ffmpeg && $(MAKE) distclean; \
fi fi
# Check that we have an faad2 tree in here (can be a symlink) # Check that we have an faad2 tree in here (can be a symlink)
test -d extras/faad2 test -d extras/faad2
-if test ! '(' -d CVS -o .svn ')'; then \ -if test ! '(' -d CVS -o -d .svn ')'; then \
cd extras/faad2 && $(MAKE) distclean; \ cd extras/faad2 && $(MAKE) distclean; \
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment