diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-08-16 00:43:50 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-08-16 00:43:50 +0000 |
commit | f7c75a6832d86885db3af408307c42e7f1a1adac (patch) | |
tree | fe2669fd7de9f467126466cba9ddc540fc7b8cb2 /Makefile | |
parent | 10e46630fb6b19a51f34211942f5f00a438508b4 (diff) | |
download | external_llvm-f7c75a6832d86885db3af408307c42e7f1a1adac.zip external_llvm-f7c75a6832d86885db3af408307c42e7f1a1adac.tar.gz external_llvm-f7c75a6832d86885db3af408307c42e7f1a1adac.tar.bz2 |
Add .PHONY targets for building source and binary RPM packages. You can
now just "make rpm" or "make srpm" and it will build them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29717 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -100,3 +100,10 @@ endif 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 |