[Ffmpeg-devel] (UPDATE) ffmpeg uninstall patch
Thu May 18 10:43:23 CEST 2006
On Thu, May 18, 2006 at 11:00:28AM +1000, Richard wrote:
> I pretty printed the Makefiles
This was not necessary for the parts you patch did not touch. It should
even be avoided as patches shall never contain unrelated changes. I
just committed these changes separately.
> and also added a check to make sure
> the directory $(incdir) existed before calling rmdir (something I
> really should have done in the first place). Now if you "make
> uninstall" twice in a row it won't cause a Makefile error.
The way to do this in Makefiles is to prepend a '-' to the command, make
will then ignore any errors it returns. rm -rf is another possibility,
but of course you need to be very careful as to what dir you blow away.
More information about the ffmpeg-devel