mirror of
https://git.pixie.town/thufie/npl-builder.git
synced 2024-12-29 12:55:35 +01:00
20 lines
704 B
Makefile
20 lines
704 B
Makefile
|
all: clean cnpl npl cnpl-na npl-na
|
||
|
|
||
|
cnpl:
|
||
|
xml ed -d "/article/info" template.xml | pandoc -f docbook -t markdown -s -o cnpl.md
|
||
|
|
||
|
npl:
|
||
|
xml ed -d "/article/info" template.xml | xml ed -d "*/*/*[@role='restriction-cooperative']" | pandoc -f docbook -t markdown -s -o npl.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
|
||
|
|
||
|
npl-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 npl-na.md
|
||
|
|
||
|
clean:
|
||
|
rm -rf npl.md
|
||
|
rm -rf cnpl.md
|
||
|
rm -rf cnpl-na.md
|
||
|
rm -rf npl-na.md
|