Add quotes where necessary.
authorDiego Biurrun <diego@biurrun.de>
Fri, 4 Aug 2006 10:13:10 +0000 (10:13 +0000)
committerDiego Biurrun <diego@biurrun.de>
Fri, 4 Aug 2006 10:13:10 +0000 (10:13 +0000)
Originally committed as revision 5929 to svn://svn.ffmpeg.org/ffmpeg/trunk

common.mak

index 0c08a59..8069d21 100644 (file)
@@ -63,11 +63,11 @@ ifeq ($(CONFIG_MINGW),yes)
        install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)"
 else
        install $(INSTALLSTRIP) -m 755 $(SLIBNAME) \
-               $(shlibdir)/$(SLIBNAME_WITH_VERSION)
+               "$(shlibdir)/$(SLIBNAME_WITH_VERSION)"
        ln -sf $(SLIBNAME_WITH_VERSION) \
-              $(shlibdir)/$(SLIBNAME_WITH_MAJOR)
+              "$(shlibdir)/$(SLIBNAME_WITH_MAJOR)"
        ln -sf $(SLIBNAME_WITH_VERSION) \
-              $(shlibdir)/$(SLIBNAME)
+              "$(shlibdir)/$(SLIBNAME)"
 endif
 
 install-lib-static: $(LIB)
@@ -84,17 +84,17 @@ uninstall: uninstall-libs uninstall-headers
 
 uninstall-libs:
 ifeq ($(CONFIG_MINGW),yes)
-       -rm -f $(prefix)/$(SLIBNAME)
+       -rm -f "$(prefix)/$(SLIBNAME)"
 else
-       -rm -f $(shlibdir)/$(SLIBNAME_WITH_MAJOR) \
-              $(shlibdir)/$(SLIBNAME)            \
-              $(shlibdir)/$(SLIBNAME_WITH_VERSION)
+       -rm -f "$(shlibdir)/$(SLIBNAME_WITH_MAJOR)" \
+              "$(shlibdir)/$(SLIBNAME)"            \
+              "$(shlibdir)/$(SLIBNAME_WITH_VERSION)"
 endif
-       -rm -f $(libdir)/$(LIB)
+       -rm -f "$(libdir)/$(LIB)"
 
 uninstall-headers:
-       rm -f $(addprefix $(incdir)/,$(HEADERS))
-       rm -f $(libdir)/pkgconfig/lib$(NAME).pc
+       rm -f "$(addprefix $(incdir)/,$(HEADERS))"
+       rm -f "$(libdir)/pkgconfig/lib$(NAME).pc"
 
 #
 # include dependency files if they exist