From fe4a63f6e27a20b10046c5d907d0ef9ec67304f1 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 17 Nov 2003 15:17:57 +0000 Subject: localrpm/localsrpm targets --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4d12c2bd..676001d6 100644 --- a/Makefile +++ b/Makefile @@ -76,14 +76,19 @@ cvstag: cvs commit cvs tag $(RELTAG) -localrpm: dis ../$(TAR) $(RPM) +localsrpm: dis ../$(TAR) $(RPM) + -rpm -bs $(NAME).spec + rm -f ../$(TAR) + +localrpm: localsrpm + -rpm -ba --clean $(NAME).spec rpm: changelog cvstag dis ../$(TAR) $(RPM) cp -f ../$(TAR) $(RPM)/SOURCES -rpm -ba --clean $(NAME).spec rm -f ../$(TAR) -localrpm: dis +oldlocalrpm: dis cp -f ../$(TAR) $(RPM)/SOURCES cp -f $(NAME).spec $(RPM)/SPECS/ -rpm -ba $(NAME).spec -- cgit v1.2.1