diff options
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -121,3 +121,7 @@ src: REFLECTION: $(NAME).spec php --re $(shell pwd | sed -e 's/.*-//') >REFLECTION + +composer: + tar xf $(shell spectool -l $(NAME).spec | sed -e 's:.*/::') --strip-components=1 '*/composer.json' && \ + mv composer.json composer-$(shell sed -n '/^Version:/{s/[^0-9]*//;p}' $(NAME).spec).json |