/[pkgs]/comps/Makefile
ViewVC logotype

Contents of /comps/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Tue Jun 9 14:17:25 2009 UTC (5 months, 1 week ago) by notting
Branch: MAIN
CVS Tags: fslint-2_40-1_fc12, HEAD
Changes since 1.12: +2 -2 lines
Redirect rawhide comps to F12.
1 XMLINFILES=$(wildcard *.xml.in)
2 XMLFILES = $(patsubst %.xml.in,%.xml,$(XMLINFILES))
3
4 all: po $(XMLFILES)
5
6 po: $(XMLINFILES)
7 make -C po -f Makefile || exit 1
8
9 clean:
10 @rm -fv *~ *.xml
11
12 validate: $(XMLFILES) comps.rng
13 for f in $(XMLFILES); do xmllint --noout --relaxng comps.rng $$f; done
14
15 %.xml: %.xml.in
16 @python -c 'import libxml2; libxml2.parseFile("$<")'
17 @if test ".$(CLEANUP)" == .yes; then xsltproc --novalid -o $< comps-cleanup.xsl $<; fi
18 ./update-comps $@
19 @if [ "$@" == "$(RAWHIDECOMPS)" ] ; then \
20 cat $(RAWHIDECOMPS) | sed 's/redhat-release/rawhide-release/g' > comps-rawhide.xml ; \
21 fi
22
23 # Add an easy alias to generate a rawhide comps file
24 comps-rawhide: comps-f12.xml
25 @mv comps-f12.xml comps-rawhide.xml

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2