r733 - /experimental/ffmpeg/debian/rules

sho at users.alioth.debian.org sho at users.alioth.debian.org
Thu Mar 29 22:48:31 CET 2007


Author: sho
Date: Thu Mar 29 21:48:31 2007
New Revision: 733

URL: http://svn.debian.org/wsvn/pkg-multimedia/?sc=1&rev=733
Log:
  * Remove useless calls to "cd".

Modified:
    experimental/ffmpeg/debian/rules

Modified: experimental/ffmpeg/debian/rules
URL: http://svn.debian.org/wsvn/pkg-multimedia/experimental/ffmpeg/debian/rules?rev=733&op=diff
==============================================================================
--- experimental/ffmpeg/debian/rules (original)
+++ experimental/ffmpeg/debian/rules Thu Mar 29 21:48:31 2007
@@ -61,12 +61,11 @@
 	sed 's/ldts/ldts_pic/' <config.mak >config.mak.pic
 	echo 'CFLAGS += -fPIC -DPIC' >> config.mak.pic
 	for d in $(LIBS); do \
-	  cd $$d && \
-	    $(MAKE) clean && \
-	    rm -f Makefile.pic && \
-	    sed 's/config.mak/config.mak.pic/' <Makefile >Makefile.pic && \
-	    $(MAKE) -f Makefile.pic && \
-	    rm -f Makefile.pic ; \
+	  $(MAKE) -C $$d clean && \
+	  rm -f $$d/Makefile.pic && \
+	  sed 's/config.mak/&.pic/' <$$d/Makefile >$$d/Makefile.pic && \
+	  $(MAKE) -C $$d -f Makefile.pic && \
+	  rm -f $$d/Makefile.pic ; \
 	done
 	rm -f config.mak.pic
 	




More information about the pkg-multimedia-commits mailing list