all: repodata/repomd.xml repodata/index.html
@test -d headers && make headers/header.info ||:
groups.xml: groups.xml.in comps-cleanup.xsl /usr/bin/xsltproc
/usr/bin/xsltproc -o groups.xml comps-cleanup.xsl groups.xml.in
@touch RPMS
@make all
repodata/repomd.xml: RPMS /usr/bin/createrepo
make -C RPMS
@rm -rf .olddata
@echo createrepo
@mkdir .repodata-cache >& /dev/null ||:
@test -f groups.xml && createrepo --database --cachedir=.repodata-cache --groupfile=groups.xml --update --skip-stat . ||:
@test -f groups.xml || createrepo --database --cachedir=.repodata-cache --update --skip-stat .
REPO=`pwd | sed -e "s|.*/kde-redhat/||"`
repodata/index.html: repodata/repomd.xml /usr/bin/repoview
@echo repoview
@repoview -f --title="kde-redhat/$(REPO)" --url="http://apt.kde-redhat.org/apt/kde-redhat/$(REPO)" .
@rm -rf .olddata
@touch $@
headers/header.info: RPMS
make -C RPMS
yum-arch -l .
repodata:
@mkdir repodata
headers:
@mkdir headers
clean:
@rm -rf .olddata