@ -444,14 +444,14 @@ install: infer $(INFER_MANUALS_GZIPPED)
i f e q ( $( BUILD_C_ANALYZERS ) , y e s )
i f e q ( $( BUILD_C_ANALYZERS ) , y e s )
test -d '$(DESTDIR)$(libdir)/infer/facebook-clang-plugins/libtooling/build/' || \
test -d '$(DESTDIR)$(libdir)/infer/facebook-clang-plugins/libtooling/build/' || \
$( MKDIR_P) '$(DESTDIR)$(libdir)/infer/facebook-clang-plugins/libtooling/build/'
$( MKDIR_P) '$(DESTDIR)$(libdir)/infer/facebook-clang-plugins/libtooling/build/'
find facebook-clang-plugins/clang/install -type d -print0 | xargs -0 -I \{ \} \
find facebook-clang-plugins/clang/install -type d -print0 | xargs -0 -n 1 \
$( SHELL) -c " test -d ' $( DESTDIR) $( libdir) '/infer/ {} || \
$( SHELL) -x - c " test -d ' $( DESTDIR) $( libdir) '/infer/ \$$1 || \
$( MKDIR_P) '$(DESTDIR)$(libdir)' /infer/{ } "
$( MKDIR_P) '$(DESTDIR)$(libdir)' /infer/\$ $1 " --
test -d '$(DESTDIR)$(libdir)/infer/infer/lib/clang_wrappers/' || \
test -d '$(DESTDIR)$(libdir)/infer/infer/lib/clang_wrappers/' || \
$( MKDIR_P) '$(DESTDIR)$(libdir)/infer/infer/lib/clang_wrappers/'
$( MKDIR_P) '$(DESTDIR)$(libdir)/infer/infer/lib/clang_wrappers/'
find infer/models/cpp/include -type d -print0 | xargs -0 -I \{ \} \
find infer/models/cpp/include -type d -print0 | xargs -0 -n 1 \
$( SHELL) -c " test -d ' $( DESTDIR) $( libdir) '/infer/ {} || \
$( SHELL) -x - c " test -d ' $( DESTDIR) $( libdir) '/infer/ \$$1 || \
$( MKDIR_P) '$(DESTDIR)$(libdir)' /infer/{ } "
$( MKDIR_P) '$(DESTDIR)$(libdir)' /infer/\$ $1 " --
test -d '$(DESTDIR)$(libdir)/infer/infer/lib/linter_rules/' || \
test -d '$(DESTDIR)$(libdir)/infer/infer/lib/linter_rules/' || \
$( MKDIR_P) '$(DESTDIR)$(libdir)/infer/infer/lib/linter_rules/'
$( MKDIR_P) '$(DESTDIR)$(libdir)/infer/infer/lib/linter_rules/'
test -d '$(DESTDIR)$(libdir)/infer/infer/etc/' || \
test -d '$(DESTDIR)$(libdir)/infer/infer/etc/' || \
@ -526,9 +526,20 @@ endif
( cd '$(DESTDIR)$(libdir)' /infer/infer/bin && \
( cd '$(DESTDIR)$(libdir)' /infer/infer/bin && \
$( REMOVE) " $$ alias " && \
$( REMOVE) " $$ alias " && \
$( LN_S) infer " $$ alias " ) ; done
$( LN_S) infer " $$ alias " ) ; done
find '$(MAN_DIR)' /man1 -print0 | xargs -0 \
$( foreach man,$( INFER_MANUAL_GZIPPED) , \
$( SHELL) -c '$(INSTALL_DATA) -C $$1 "$(DESTDIR)$(mandir)/man1/$$(basename $$1)"'
$( INSTALL_DATA) -C $( man) '$(DESTDIR)$(mandir)/man1/$(notdir $(man))' )
i f e q ( $( IS_FACEBOOK_TREE ) , y e s )
i f e q ( $( IS_FACEBOOK_TREE ) , y e s )
i f d e f D E S T D I R
ifeq (,$(findstring : /, :$( DESTDIR ) ))
# DESTDIR is set and relative
$( MAKE) -C facebook install 'DESTDIR=../$(DESTDIR)'
e n d i f
e l s e
# DESTDIR is set and absolute
$( MAKE) -C facebook install
e n d i f
e l s e
# DESTDIR not set
$( MAKE) -C facebook install
$( MAKE) -C facebook install
e n d i f
e n d i f