From: S.Çağlar Onur Date: Mon, 10 Jan 2011 18:49:39 +0000 (-0500) Subject: cp SOURCEFILES X-Git-Tag: mkinitrd-5.1.19.6-0 X-Git-Url: http://git.onelab.eu/?p=mkinitrd.git;a=commitdiff_plain;h=ecd614bb73701b935dd68a8ca098a40fa0b419a1 cp SOURCEFILES --- diff --git a/Makefile b/Makefile index da4a2dc..7fe9b50 100644 --- a/Makefile +++ b/Makefile @@ -85,7 +85,8 @@ trees: sources srpm: sources mkdir -p SOURCES SRPMS (cd SOURCES; rpm2cpio ../$(SOURCE_RPM) | cpio -diu; \ - cp ../$(notdir $(SPECFILE)) . ; cp ../*.patch .;) + cp ../$(notdir $(SPECFILE)) . ; cp ../*.patch .; \ + for downloaded in $(SOURCEFILES) ; do cp ../$$downloaded . ; done ; ) ./rpmmacros.sh export HOME=$(shell pwd) ; rpmbuild $(RPMDIRDEFS) $(RPMDEFS) --nodeps -bs $(SPECFILE)