From 32681182d954c8cefa2e7a39cc0fd2ba3117915f Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 29 Jun 1998 21:00:46 +0000 Subject: [PATCH] RPM generation. --- Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 5200c9e..816c629 100644 --- a/Makefile +++ b/Makefile @@ -20,8 +20,10 @@ hex.shar: $(SOURCES) clean: rm -f hex hex.tar hex.shar -TOPDIR=/usr/src/rpm -rpm: hex.tar.gz - cp hex.tar.gz $(TOPDIR)/SOURCES/hex-$(VERS).tar.gz - cp hex.spec $(TOPDIR)/SPECS/hex-$(VERS)-1.spec - rpm -ba hex-$(VERS)-1.spec +RPMROOT=/usr/src/redhat +RPM = rpm +RPMFLAGS = -ba +rpm: hex-$(VERS).tar.gz + cp hex-$(VERS).tar.gz $(RPMROOT)/SOURCES/hex-$(VERS).tar.gz + cp hex.spec $(RPMROOT)/SPECS/hex.spec + $(RPM) $(RPMFLAGS) hex.spec -- 2.43.0