Add C++ models to make install target

Summary:
C++ header models were not included into make install target. This made
C++ analysis much worse for infer released using 'make install'

Reviewed By: jvillard

Differential Revision: D3463000

fbshipit-source-id: 6f7e9b9
master
Andrzej Kotulski 9 years ago committed by Facebook Github Bot 7
parent a5791d7f43
commit e7b2ec2886

@ -148,6 +148,10 @@ ifeq ($(BUILD_C_ANALYZERS),yes)
done done
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/
@for i in $$(find infer/models/cpp/include/ -type d); do \
test -d $(DESTDIR)$(libdir)/infer/$$i || \
$(MKDIR_P) $(DESTDIR)$(libdir)/infer/$$i; \
done
endif endif
ifeq ($(BUILD_JAVA_ANALYZERS),yes) ifeq ($(BUILD_JAVA_ANALYZERS),yes)
test -d $(DESTDIR)$(libdir)/infer/infer/lib/java/ || \ test -d $(DESTDIR)$(libdir)/infer/infer/lib/java/ || \
@ -185,6 +189,9 @@ ifeq ($(BUILD_C_ANALYZERS),yes)
@for i in $$(find infer/lib/specs/*); do \ @for i in $$(find infer/lib/specs/*); do \
$(INSTALL_DATA) -C $$i $(DESTDIR)$(libdir)/infer/$$i; \ $(INSTALL_DATA) -C $$i $(DESTDIR)$(libdir)/infer/$$i; \
done done
@for i in $$(find infer/models/cpp/include/ -not -type d); do \
$(INSTALL_DATA) -C $$i $(DESTDIR)$(libdir)/infer/$$i; \
done
$(INSTALL_PROGRAM) -C $(INFERCLANG_BIN) $(DESTDIR)$(libdir)/infer/infer/bin/ $(INSTALL_PROGRAM) -C $(INFERCLANG_BIN) $(DESTDIR)$(libdir)/infer/infer/bin/
endif endif
ifneq ($(XCODE_SELECT),no) ifneq ($(XCODE_SELECT),no)

Loading…
Cancel
Save