blob: c93aa1e99c18de1aee3f353bc7735f53fc7e3294 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
SRCDIR := $(shell pwd)
NAME := $(shell basename $(SRCDIR))
include ../../../common/Makefile
composer:
tar xf $(shell spectool -l $(NAME).spec | head -n 1 | sed -e 's:.* ::' | sed -e 's:.*/::') --strip-components=1 '*/composer.json'
test -d Cache && mv Cache/composer.json src/Cache && rmdir Cache
test -d EventDispatcher && mv EventDispatcher/composer.json src/EventDispatcher && rmdir EventDispatcher
test -d HttpClient && mv HttpClient/composer.json src/HttpClient && rmdir HttpClient
test -d Service && mv Service/composer.json src/Service && rmdir Service
test -d Translation && mv Translation/composer.json src/Translation && rmdir Translation
test -d Deprecation && mv Deprecation/composer.json src/Deprecation && rmdir Deprecation
|