diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-05-09 10:22:18 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2010-05-09 10:22:18 +0200 |
commit | d4bab774561474569daf3d26e2ef9a075e6f3eda (patch) | |
tree | 01870d8318365352c3ba64b1a9dd61816f482434 /Makefile |
Import PHP stuff (5.3.2 + 5.3.3-dev)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6674942 --- /dev/null +++ b/Makefile @@ -0,0 +1,26 @@ +RPMDEFINES := --define "_sourcedir $(SRCDIR)" \ + --define "_specdir $(SRCDIR)" \ + --define "_srcrpmdir $(SRCDIR)" \ + --define "_rpmdir $(SRCDIR)" + +SRCDEFINES := --define "dist .remi" \ + --define "_source_filedigest_algorithm 1" \ + --define "_binary_filedigest_algorithm 1" + +clean: + echo Clean $(NAME) in $(SRCDIR) + @rm -fv *~ + +srpm: + rpmbuild $(RPMDEFINES) $(SRCDEFINES) -bs $(NAME).spec + +devsrpm: + rpmbuild $(RPMDEFINES) $(SRCDEFINES) -bs $(NAME)-dev.spec + +build: + rpmbuild $(RPMDEFINES) -bb $(NAME).spec + +devbuild: + rpmbuild $(RPMDEFINES) -bb $(NAME)-dev.spec + + |