blob: b5cf01bbaa175fb6cb9ecc4923d732b06fc177b0 (
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
26
27
28
29
30
31
|
NULL =
INSTALL_STUFF = \
vim-policy.html/ \
vim-policy.txt \
$(NULL)
all: html text
# to be used on alioth for updating policy linked by pkg-vim project page
install: all
cp -r $(INSTALL_STUFF) ~/pkg-vim/htdocs/
html: vim-policy.html/index.html
text: vim-policy.txt
export LC_ALL=C.UTF-8
vim-policy.html/index.html: vim-policy.xml *.xml
docbook2html $< -o $(dir $@)
vim-policy.txt: vim-policy.xml *.xml
docbook2txt $<
clean:
$(RM) -rf $(INSTALL_STUFF)
upload_web: all
scp -rC $(INSTALL_STUFF) alioth.debian.org:/srv/home/groups/pkg-vim/htdocs/
.PHONY: html text upload_web
|