Merged revisions 340219-340220 via svnmerge from
[asterisk/asterisk.git] / utils / Makefile
index d80a488..718b9ba 100644 (file)
@@ -75,12 +75,12 @@ all: $(UTILS)
 install:
        for x in $(UTILS); do \
                if [ "$$x" != "none" ]; then \
-                       $(INSTALL) -m 755 $$x $(DESTDIR)$(ASTSBINDIR)/$$x; \
+                       $(INSTALL) -m 755 $$x "$(DESTDIR)$(ASTSBINDIR)/$$x"; \
                fi; \
        done 
 
 uninstall:
-       for x in $(ALL_UTILS); do rm -f $(DESTDIR)$(ASTSBINDIR)/$$x; done
+       for x in $(ALL_UTILS); do rm -f "$(DESTDIR)$(ASTSBINDIR)/$$x"; done
 
 clean:
        rm -f *.o $(ALL_UTILS) check_expr
@@ -214,7 +214,11 @@ db1-ast/libdb1.a: CHECK_SUBDIR
 
 astdb2sqlite3: LIBS+=$(SQLITE3_LIB)
 astdb2sqlite3: _ASTCFLAGS+=$(SQLITE3_INCLUDE)
-astdb2sqlite3: db1-ast/libdb1.a 
+astdb2sqlite3: db1-ast/libdb1.a
+
+astdb2bdb: LIBS+=$(SQLITE3_LIB)
+astdb2bdb: _ASTCFLAGS+=$(SQLITE3_INCLUDE)
+astdb2bdb: db1-ast/libdb1.a
 
 ifneq ($(wildcard .*.d),)
    include .*.d