[llvm-commits] CVS: llvm/Makefile
Brian Gaeke
gaeke at cs.uiuc.edu
Mon Feb 9 19:11:02 PST 2004
Changes in directory llvm:
Makefile updated: 1.21 -> 1.22
---
Log message:
Should fix pr220 - "make install" doesn't install header files when
BUILD_SRC_ROOT != BUILD_OBJ_ROOT
---
Diffs of the changes: (+3 -0)
Index: llvm/Makefile
diff -u llvm/Makefile:1.21 llvm/Makefile:1.22
--- llvm/Makefile:1.21 Mon Feb 9 11:38:51 2004
+++ llvm/Makefile Mon Feb 9 19:10:01 2004
@@ -34,6 +34,9 @@
install-includes:
$(MKDIR) $(DESTDIR)$(includedir)/llvm
cd include && find * '!' '(' -name '*~' -o -name .cvsignore ')' -print | grep -v CVS | pax -rwdvpe $(DESTDIR)$(includedir)/llvm
+ifneq ($(BUILD_SRC_ROOT),$(BUILD_OBJ_ROOT))
+ cd $(BUILD_SRC_ROOT)/include && find * '!' '(' -name '*~' -o -name .cvsignore ')' -print | grep -v CVS | pax -rwdvpe $(DESTDIR)$(includedir)/llvm
+endif
install:: install-includes
More information about the llvm-commits
mailing list