forked from lcnetdev/bibframe2marc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (21 loc) · 653 Bytes
/
Copy pathMakefile
File metadata and controls
32 lines (21 loc) · 653 Bytes
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
32
.PHONY : all test_compile test_rules test check clean distclean
XSLTPROC = xsltproc
XSPEC = xspec.sh
TARGET_XSL = bibframe2marc.xsl
bibframe2marc.xsl : rules.xml
$(XSLTPROC) src/compile.xsl rules.xml > $(TARGET_XSL)
all : bibframe2marc.xsl test
rules.xml : $(shell find rules)
./buildrules.sh
test_compile :
$(XSPEC) test/compile.xspec
test_named_templates : bibframe2marc.xsl
$(XSPEC) test/named-templates.xspec
test_rules : bibframe2marc.xsl
$(XSPEC) rules/test/rules.xspec
test : test_compile test_named_templates test_rules
check : test
clean :
-rm rules.xml bibframe2marc.xsl
distclean : clean
-find . -name "xspec" | xargs rm -r