rpms/systemtap/FC-4 Makefile,1.7,1.8
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Wed Jul 19 22:33:01 UTC 2006
- Previous message (by thread): rpms/systemtap/devel .cvsignore, 1.4, 1.5 elfutils-portability.patch, 1.9, 1.10 sources, 1.17, 1.18 systemtap.spec, 1.25, 1.26
- Next message (by thread): rpms/words/devel words.spec,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: roland
Update of /cvs/dist/rpms/systemtap/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv24048
Modified Files:
Makefile
Log Message:
Makefile import magic moved to ../devel/Makefile.
Index: Makefile
===================================================================
RCS file: /cvs/dist/rpms/systemtap/FC-4/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Makefile 5 May 2006 22:12:26 -0000 1.7
+++ Makefile 19 Jul 2006 22:32:59 -0000 1.8
@@ -4,68 +4,3 @@
SPECFILE = $(firstword $(wildcard *.spec))
include ../common/Makefile.common
-
-tarball = systemtap-$(VERSION).tar.gz
-
-ifeq ($(clobber),t)
-commit-check = :
-else
-commit-check = cvs -Q diff --brief > /dev/null 2>&1
-endif
-
-elfutils-version := $(shell awk '$$2 == "elfutils_version" { print $$3 }' \
- systemtap.spec)
-eu-dir = ../../elfutils/devel
-$(eu-dir)/elfutils.spec: FORCE
- cd $(@D) && cvs -Q update && $(commit-check)
-$(eu-dir)/%.tar.gz: $(eu-dir)/elfutils.spec
- $(MAKE) -C $(@D) sources
-$(eu-dir)/%.patch: $(eu-dir)/elfutils.spec ;
-
-import-systemtap: $(tarball)
- $(commit-check) systemtap.spec
- tar -zf $(tarball) -xO '*.spec' > systemtap.spec
- $(MAKE) upload-systemtap
- touch $@
-
-upload-systemtap: $(tarball) \
- $(addprefix $(eu-dir)/,\
- elfutils-$(elfutils-version).tar.gz \
- elfutils-portability.patch)
- ln -f $(filter $(eu-dir)/%.tar.gz,$^) .
- ln -f $(filter $(eu-dir)/%.patch,$^) .
- $(MAKE) new-source FILES='$(filter-out %.patch,$^)'
-
-bundled-devel := 0
-release-devel := 2
-release-RHEL-4 := 0.EL4
-release-FC-5 := 0.FC5
-
-propagate-%: import-systemtap
- cd ../$* && $(commit-check)
- cp -f sources elfutils-portability.patch ../$*
- ln -f elfutils-*.tar.gz $(tarball) ../$*
- USER=`whoami`; \
- NAME=`getent passwd $$USER | awk -F: '{ printf $$5 }'`; \
- (date +"* %a %b %e %Y $${NAME} <$${USER}@redhat.com>\
- - ${VERSION}-$(release-$*)"; \
- echo '- Rebuilt for $*'; echo) > tmp.$$$$; \
- sed 's/%define bundled_elfutils .*$$/%define\
- bundled_elfutils $(firstword $(bundled-$*) 1)/;\
- /^Release:/s/: 1/: $(release-$*)/;\
- /%changelog/'"r tmp.$$$$" \
- systemtap.spec > ../$*/systemtap.spec; \
- rm -f tmp.$$$$
- touch $@
-.PRECIOUS: propagate-% tag-%
-
-commit-%: propagate-%
- cd ../$* && cvs commit -m'Automatic update to $(VERSION)'
- touch $@
-
-tag-%: commit-%
- cd ../$* && $(MAKE) tag
- touch $@
-
-build-%: tag-%
- cd ../$* && $(MAKE) build
- Previous message (by thread): rpms/systemtap/devel .cvsignore, 1.4, 1.5 elfutils-portability.patch, 1.9, 1.10 sources, 1.17, 1.18 systemtap.spec, 1.25, 1.26
- Next message (by thread): rpms/words/devel words.spec,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list