Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 export DH_VERBOSE = 1
3
4 NIMCACHE=$(CURDIR)/nimcache
5
6 %:
7 dh $@
8
9 override_dh_auto_build:
10 # fails in cowbuilder
11 #nim doc --nimcache:$(NIMCACHE) kexpr.nim
12
13 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
14 nim c --nimcache:$(NIMCACHE) -r tests.nim
15 endif
16
17 override_dh_auto_clean:
18 dh_auto_clean
19 rm -rf $(NIMCACHE)
20 rm -f kexpr.out nimdoc.out.css tests kexpr.html