aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-02-26 11:19:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-02-26 11:19:43 +0000
commite91a970cb5b9ec3ceb68bc325744d69f4f73eb9b (patch)
tree63cd1e10a3f3437a6c5ef99356549fa9182cffc5 /Makefile
parent8f5f5f408cebc1ed820b3f34eb26cab19f8f7db7 (diff)
downloadbootsplash-e91a970cb5b9ec3ceb68bc325744d69f4f73eb9b.tar
bootsplash-e91a970cb5b9ec3ceb68bc325744d69f4f73eb9b.tar.gz
bootsplash-e91a970cb5b9ec3ceb68bc325744d69f4f73eb9b.tar.bz2
bootsplash-e91a970cb5b9ec3ceb68bc325744d69f4f73eb9b.tar.xz
bootsplash-e91a970cb5b9ec3ceb68bc325744d69f4f73eb9b.zip
the spec file is now in build system
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile26
1 files changed, 1 insertions, 25 deletions
diff --git a/Makefile b/Makefile
index 4606717..93c6616 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,5 @@
NAME=bootsplash
-VERSION := $(shell rpm -q --qf '%{version}\n' --specfile $(NAME).spec | head -1)
-RELEASE := $(shell rpm -q --qf '%{release}\n' --specfile $(NAME).spec | head -1)
-RELTAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__')
+VERSION := 3.2.2
SUBDIRS=scripts fb fbmngplay fbtruetype splash po
FILES=$(SUBDIRS) Makefile bootsplash.spec ChangeLog README
@@ -30,28 +28,6 @@ tar: dir localcopy
localcopy:
tar c --exclude=.svn $(FILES) | tar x -C $(NAME)-$(VERSION)
-
clean:
@for i in $(SUBDIRS);do make -C $$i clean;done
rm -f *~ \#*\#
-
-svntag:
- svn cp -m 'version $(VERSION)' $(SVNSOFT)/trunk $(SVNNAME)/tag/v$(VERSION)
-
-ci: tar
- svn ci -m 'Update soft SPEC for version $(VERSION)' $(NAME).spec
- mkdir svn; cd svn; mdvsys co $(NAME)
- cp $(NAME).spec svn/$(NAME)/SPECS/
- cp $(NAME).tar svn/$(NAME)/SOURCES/
- cd svn/$(NAME)/; mdvsys ci -m 'update tarball and spec for version $(VERSION)'
-
-rpm: clean ci
- cd svn/$(NAME); bm
-
-localrpm: tar $(RPM)
- cp -f $(NAME).tar $(RPM)/SOURCES
- -rpm -ba --clean $(NAME).spec
- rm -f $(NAME).tar
-
-submit: clean ci
- mdvsys submit $(NAME)