summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2b182cb6..207b06c5 100644
--- a/Makefile
+++ b/Makefile
@@ -38,13 +38,16 @@ dis: clean
tar cjf ../$(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION)
rm -rf $(NAME)-$(VERSION)
-rpm: dis
+srpm: dis
# ../$(NAME)-$(VERSION).tar.bz2 $(RPM)
chmod 0644 ../$(NAME)-$(VERSION).tar.bz2 *.png.bz2 #rpmlint is happy
cp -f ../$(NAME)-$(VERSION).tar.bz2 $(RPM)/SOURCES
cp -f *.png.bz2 $(RPM)/SOURCES
cp -f $(NAME).spec $(RPM)/SPECS/
- rpm -ba --clean --rmsource $(NAME).spec
+ rpm -bs $(NAME).spec
+
+rpm: srpm
+ rpm -bb --clean --rmsource $(NAME).spec
rm -f ../$(NAME)-$(VERSION).tar.bz2
cvs commit