Changes in directory llvm:

Makefile updated: 1.63 -> 1.64
---
Log message:

Add .PHONY targets for building source and binary RPM packages. You can
now just "make rpm" or "make srpm" and it will build them. 


---
Diffs of the changes:  (+7 -0)

 Makefile |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/Makefile
diff -u llvm/Makefile:1.63 llvm/Makefile:1.64
--- llvm/Makefile:1.63  Wed Jul 26 14:10:34 2006
+++ llvm/Makefile       Tue Aug 15 19:43:50 2006
@@ -100,3 +100,10 @@
 check-llvm2cpp:
        $(MAKE) check TESTSUITE=Feature RUNLLVM2CPP=1
 
+srpm: $(LLVM_OBJ_ROOT)/llvm.spec 
+       rpmbuild -bs $(LLVM_OBJ_ROOT)/llvm.spec
+
+rpm: $(LLVM_OBJ_ROOT)/llvm.spec 
+       rpmbuild -bb --target $(TARGET_TRIPLE) $(LLVM_OBJ_ROOT)/llvm.spec
+
+.PHONY: srpm rpm



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to