* ./debian/rules: added code to avoid timestamp skews in the faad tree.
authorSam Hocevar <sam@videolan.org>
Mon, 10 Feb 2003 21:56:25 +0000 (21:56 +0000)
committerSam Hocevar <sam@videolan.org>
Mon, 10 Feb 2003 21:56:25 +0000 (21:56 +0000)
debian/rules

index 4a2fc01..f5e3ff0 100755 (executable)
@@ -80,11 +80,26 @@ build-stamp:
 
        # 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 && ./configure && cd libavcodec && make; fi
+       if test ! -d CVS; then \
+               cd extras/ffmpeg \
+               && ./configure \
+               && cd libavcodec \
+               && make; \
+       fi
 
        # Check that we have an faad tree in here (can be a symlink)
        test -d extras/faad
-       if test ! -d CVS; then cd extras/faad && ./configure --disable-shared && cd libfaad && make; fi
+       if test ! -d CVS; then \
+               cd extras/faad \
+               && touch configure.in \
+               && touch aclocal.m4 \
+               && touch configure \
+               && touch config.h.in \
+               && touch `find . -name Makefile.in` \
+               && ./configure --disable-shared \
+               && cd libfaad \
+               && make; \
+       fi
 
        # Configure VLC and build it
        ./configure --mandir=$${prefix}/share/man \