From 2e4d6bab0aefb2ad1a7ec2ca1270ad61308e1e81 Mon Sep 17 00:00:00 2001 From: Akihiro MOTOKI Date: Wed, 17 Nov 2010 05:32:08 +0900 Subject: [PATCH] Top Makefile: Do not try to make RPM if NORPM variable is defined. This definition is useful when we try to generate JM htdocs for test in environments where 'rpm' command does not work properly. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index cadfe0b8..a1cc6ac0 100644 --- a/Makefile +++ b/Makefile @@ -119,6 +119,8 @@ $(TMPDIR)/$(DIST).tar.gz: rpm: $(RPMROOT)/RPMS/noarch/$(JMRPMDIST).noarch.rpm $(RPMROOT)/RPMS/noarch/$(JMRPMDIST).noarch.rpm: $(JMRPMSRC) +ifdef NORPM +else mkdir -p $(RPMROOT)/SOURCES mkdir -p $(RPMROOT)/SPECS mkdir -p $(RPMROOT)/BUILD @@ -139,6 +141,7 @@ $(RPMROOT)/RPMS/noarch/$(JMRPMDIST).noarch.rpm: $(JMRPMSRC) --define "_mandir /usr/share/man" -ba \ $(RPMROOT)/SPECS/$(JMRPMSPEC) touch stamp/latest-archive-modified +endif # # clean -- 2.11.0