fedora-comps/Makefile
Jesse Keating a9fa6249ef Add a target to make a "rawhide" comps. This will have to be updated as
"rawhide" targets change.  This is so that we don't have to continually
modify compose tools/processes.
2008-01-11 21:09:08 +00:00

21 lines
469 B
Makefile

XMLINFILES=$(wildcard *.xml.in)
XMLFILES = $(patsubst %.xml.in,%.xml,$(XMLINFILES))
all: po $(XMLFILES)
po: $(XMLINFILES)
make -C po -f Makefile || 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
# Add an easy alias to generate a rawhide comps file
comps-rawhide: comps-f9.xml
@mv comps-f9.xml comps-rawhide.xml