blob: 5f30260c40ecf6db9575f62692ceda4db19b331d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
RNCS = devbook.rnc devbook2.rnc glsa.rnc metadata.rnc mirrors.rnc projects.rnc \
repositories.rnc userinfo.rnc
ifneq ($(PV),)
P=nxml-gentoo-schemas-$(PV)
else
P=nxml-gentoo-schemas-$(shell TZ=UTC date '+%Y%m%d')
endif
.PHONY: all dist clean
.PRECIOUS: $(RNCS)
all: $(RNCS)
dist: Makefile LICENCE schemas.xml $(RNCS)
tar -cJf $(P).tar.xz --transform='s%^%$(P)/%' $^
clean:
rm -f *.tar.xz
%.rnc: dtd/%.dtd
trang -I dtd -O rnc $< $@
devbook.rnc: devmanual/devbook.rnc
cp $< $@
|