ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/free/comps/Makefile
Revision: 1.1
Committed: Mon Aug 11 19:43:11 2008 UTC (4 years, 9 months ago) by thl
Branch: MAIN
CVS Tags: HEAD
Error occurred while calculating annotation data.
Log Message:
inital comps file

Line File contents
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 %.xml: %.xml.in
13 @python -c 'import libxml2; libxml2.parseFile("$<")'
14 @if test ".$(CLEANUP)" == .yes; then xsltproc --novalid -o $< comps-cleanup.xsl $<; fi
15 ./update-comps $@
16 @if [ "$@" == "$(RAWHIDECOMPS)" ] ; then \
17 cat $(RAWHIDECOMPS) | sed 's/redhat-release/rawhide-release/g' > comps-rawhide.xml ; \
18 fi
19
20 # Add an easy alias to generate a rawhide comps file
21 comps-rawhide: comps-f10.xml
22 @mv comps-f10.xml comps-rawhide.xml