Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 305 Bytes
CATEGORIES:=$(wildcard *-*)
EBUILDS:=$(wildcard *-*/*)
MANIFESTS:=$(addsuffix /Manifest, $(EBUILDS))
all: ${MANIFESTS} profiles/categories
%/Manifest: %/*.ebuild
ebuild $(firstword $(wildcard $(dir $@)*.ebuild)) digest
profiles/categories: ${CATEGORIES}
echo -e $(addprefix '\n', ${CATEGORIES}) > $@