forked from bgp/draft-ietf-maxprefix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
29 lines (23 loc) · 772 Bytes
/
Makefile
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
BASENAME=draft-sas-idr-maxprefix
EXT=.xml
VERSION=01
SOURCENAME=${BASENAME}${EXT}
DRAFTNAME=${BASENAME}-${VERSION}
all:
if [ -d ${DRAFTNAME} ]; then \
echo "Dir exists, not creating it"; \
else mkdir ${DRAFTNAME}; \
fi
xml2rfc ${BASENAME}-outbound${EXT} -b ${DRAFTNAME} --raw --text --html
xml2rfc ${BASENAME}-inbound${EXT} -b ${DRAFTNAME} --raw --text --html
text:
xml2rfc ${BASENAME}-outbound${EXT} -b ${DRAFTNAME} --raw
xml2rfc ${BASENAME}-inbound${EXT} -b ${DRAFTNAME} --raw
paginated:
xml2rfc ${BASENAME}-outbound${EXT} -b ${DRAFTNAME} --text
xml2rfc ${BASENAME}-inbound${EXT} -b ${DRAFTNAME} --text
html:
xml2rfc ${BASENAME}-outbound${EXT} -b ${DRAFTNAME} --html
xml2rfc ${BASENAME}-inbound${EXT} -b ${DRAFTNAME} --html
clean:
rm -fr ${DRAFTNAME}