From e91a970cb5b9ec3ceb68bc325744d69f4f73eb9b Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 26 Feb 2007 11:19:43 +0000 Subject: the spec file is now in build system --- Makefile | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (limited to 'Makefile') 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) -- cgit v1.2.1