From f2d816b40b5a65ec6411a8639684c87e849610ce Mon Sep 17 00:00:00 2001 From: David Scott Date: Mon, 12 Jul 2010 08:32:58 +0100 Subject: [PATCH] Fix the source manifest generation by using a simple shell script to scan the SRPMS, rather than a hideous make/shell fragment. Signed-off-by: David Scott --- mk/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mk/Makefile b/mk/Makefile index 3e1e0c5f..414bd26e 100644 --- a/mk/Makefile +++ b/mk/Makefile @@ -38,10 +38,7 @@ build: $(OUTPUT_CLI_RT) $(OUTPUT_SDK) $(MY_SOURCES)/MANIFEST $(MY_SOURCES)/MANIFEST: $(MY_SOURCES_DIRSTAMP) $(OUTPUT_XAPI_SRC) rm -f $@ - @for srpm in "$(/bin/ls -1 ${MY_OUTPUT_DIR}/SRPMS)"; do \ - path=$(MY_OUTPUT_DIR)/SRPMS/${srpm}; \ - echo "$(${RPM} --qf "%{name}" -qp ${path}) $(${RPM} --qf "%{License}" -qp ${path}) ${path}" >>$@; \ - done + /bin/sh ./srpms-to-manifest api $(MY_OUTPUT_DIR)/SRPMS > $@ echo api gpl file $(JQUERY_PACK_DIST) >> $@ echo api gpl file $(JQUERY_TV_DIST) >> $@ -- 2.39.5