From: Joshua Colp Date: Fri, 16 Jun 2006 16:45:52 +0000 (+0000) Subject: Fix adsi target in main Makefile and check a variable properly (issue #7369 reported... X-Git-Tag: 1.4.0-beta1~869 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb5af4b1f3853b6fd30304797671241e6227f6c6;p=thirdparty%2Fasterisk.git Fix adsi target in main Makefile and check a variable properly (issue #7369 reported by casper) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34496 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/Makefile b/Makefile index fc74bb1de4..6959e2184c 100644 --- a/Makefile +++ b/Makefile @@ -145,13 +145,13 @@ ifeq ($(findstring dont-optimize,$(MAKECMDGOALS)),) OPTIMIZE+=-O6 else # Stack backtraces, while useful for debugging, are incompatible with optimizations - ifeq (${OSARCH},Linux) + ifeq ($(OSARCH),Linux) CFLAGS+=-DSTACK_BACKTRACES endif endif else # Stack backtraces, while useful for debugging, are incompatible with optimizations - ifeq (${OSARCH},Linux) + ifeq ($(OSARCH),Linux) CFLAGS+=-DSTACK_BACKTRACES endif endif @@ -668,7 +668,7 @@ upgrade: all bininstall adsi: mkdir -p $(DESTDIR)$(ASTETCDIR) for x in configs/*.adsi; do \ - if [ ! -f $(DESTDIR)$(ASTETCDIRX)/$$x ]; then \ + if [ ! -f $(DESTDIR)$(ASTETCDIR)/$$x ]; then \ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`basename $$x` ; \ fi ; \ done