From 2292e27e56221ad6d7e6a640f573fc458736868e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 12 Oct 2020 12:14:23 +0200 Subject: initial package --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..63d3b51 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +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 + -- cgit