17 lines
345 B
Makefile
17 lines
345 B
Makefile
XMLINFILES=$(wildcard *.xml.in)
|
|
XMLFILES = $(patsubst %.xml.in,%.xml,$(XMLINFILES))
|
|
|
|
all: po comps $(XMLFILES)
|
|
|
|
po: $(XMLINFILES)
|
|
make -C po || exit 1
|
|
|
|
clean:
|
|
@rm -fv *~
|
|
|
|
%.xml: %.xml.in
|
|
./update-comps $@
|
|
@if [ "$@" == "$(RAWHIDECOMPS)" ] ; then \
|
|
cat $(RAWHIDECOMPS) | sed 's/redhat-release/rawhide-release/g' > comps-rawhide.xml ; \
|
|
fi
|