You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.4 KiB
Makefile
36 lines
1.4 KiB
Makefile
all: clean cnpl nvpl cnpl-na nvpl-na lcnpl lnvpl lcnpl-na lnvpl-na
|
|
|
|
cnpl:
|
|
xml ed -d "/article/info" template.xml | pandoc -f docbook -t markdown -s -o cnpl.md
|
|
|
|
nvpl:
|
|
xml ed -d "/article/info" template.xml | xml ed -d "*/*/*[@role='restriction-cooperative']" | pandoc -f docbook -t markdown -s -o nvpl.md
|
|
|
|
cnpl-na:
|
|
xml ed -d "/article/info" template.xml | xml ed -d "*/*/*[@role='restriction-attribution']" | pandoc -f docbook -t markdown -s -o cnpl-na.md
|
|
|
|
nvpl-na:
|
|
xml ed -d "/article/info" template.xml | xml ed -d "*/*/*[@role='restriction-attribution']" | xml ed -d "*/*/*[@role='restriction-cooperative']" | pandoc -f docbook -t markdown -s -o nvpl-na.md
|
|
|
|
lcnpl:
|
|
xml ed -d "/article/info" template.xml | pandoc -f docbook -t markdown -s -o lcnpl.md
|
|
|
|
lnvpl:
|
|
xml ed -d "/article/info" template.xml | xml ed -d "*/*/*[@role='restriction-cooperative']" | pandoc -f docbook -t markdown -s -o lnvpl.md
|
|
|
|
lcnpl-na:
|
|
xml ed -d "/article/info" template.xml | xml ed -d "*/*/*[@role='restriction-attribution']" | pandoc -f docbook -t markdown -s -o lcnpl-na.md
|
|
|
|
lnvpl-na:
|
|
xml ed -d "/article/info" template.xml | xml ed -d "*/*/*[@role='restriction-attribution']" | xml ed -d "*/*/*[@role='restriction-cooperative']" | pandoc -f docbook -t markdown -s -o lnvpl-na.md
|
|
|
|
clean:
|
|
rm -rf nvpl.md
|
|
rm -rf cnpl.md
|
|
rm -rf cnpl-na.md
|
|
rm -rf nvpl-na.md
|
|
rm -rf lnvpl.md
|
|
rm -rf lcnpl.md
|
|
rm -rf lcnpl-na.md
|
|
rm -rf lnvpl-na.md
|