From d4bab774561474569daf3d26e2ef9a075e6f3eda Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 9 May 2010 10:22:18 +0200 Subject: Import PHP stuff (5.3.2 + 5.3.3-dev) --- Makefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 + + -- cgit