Package list core-async-clojure / 9209c8f
Stop building the documentation. Louis-Philippe Véronneau 1 year, 7 months ago
7 changed file(s) with 4 addition(s) and 38 deletion(s). Raw diff Collapse all Expand all
11
22 * New upstream release.
33 * New maintainer: pollo is taking over this package.
4 * Stop building the documentation.
45
56 -- Louis-Philippe Véronneau <pollo@debian.org> Fri, 13 Nov 2020 15:32:56 -0500
67
66 debhelper (>= 10),
77 default-jdk,
88 javahelper (>= 0.43),
9 libtext-markdown-perl | markdown,
109 libtools-analyzer-jvm-clojure (>= 0.7.0),
1110 maven-repo-helper (>= 1.7)
1211 Standards-Version: 4.0.0
+0
-2
debian/footer.html less more
0 </body>
1 </html>
+0
-6
debian/header.html less more
0 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1 <html>
2 <head>
3 <title>@TITLE@</title>
4 </head>
5 <body>
+0
-13
debian/libcore-async-clojure.doc-base less more
0 Document: core-async-clojure
1 Title: core-async-clojure
2 Author:
3 Abstract: core-async-clojure readme
4 Section: Programming
5
6 Format: HTML
7 Index: /usr/share/doc/libcore-async-clojure/html/README.html
8 Files: /usr/share/doc/libcore-async-clojure/html/README.html
9
10 Format: Text
11 Index: /usr/share/doc/libcore-async-clojure/README.md.gz
12 Files: /usr/share/doc/libcore-async-clojure/README.md.gz
0 *.md
1 doc/*
0 README.md
33 export JAVA_HOME=/usr/lib/jvm/default-java
44 export CLASSPATH=/usr/share/java/clojure.jar:/usr/share/java/tools.analyzer.jvm.jar
55
6 MDWN_DOCS = README.html
76 PRODUCED_JAR=core.async.jar
87 NAMESPACE=org.clojure/core.async
98 MAVEN_META=META-INF/maven/$(NAMESPACE)
1110 %:
1211 dh $@ --with javahelper,jh_maven_repo_helper
1312
14 override_jh_build: $(MDWN_DOCS)
15 jh_build $(PRODUCED_JAR) src/main/java
16 jar uf $(PRODUCED_JAR) -C src/main/clojure .
17 mkdir -p $(CURDIR)/doc/html && mv $(CURDIR)/README.html $(CURDIR)/doc/html
18 mkdir -p $(CURDIR)/meta/$(MAVEN_META)
19 cp $(CURDIR)/debian/maven-meta/* $(CURDIR)/meta/$(MAVEN_META)
20 jar uf $(PRODUCED_JAR) -C meta/ META-INF
13 override_jh_build:
14 jar cf $(PRODUCED_JAR) -C src/main/clojure .
2115
2216 override_jh_clean:
2317 jh_clean
3226 dh_auto_test
3327 (cd src/test/clojure && find . -name '*.clj' | \
3428 xargs clojure -cp $(CLASSPATH):$(CURDIR)/$(PRODUCED_JAR))
35
36 %.html:%.md
37 cat debian/header.html > $@
38 sed -i'' -e 's/@TITLE@/$(shell head -n 1 $< | sed 's/^#*\s*//')/g' $@
39 markdown $< >> $@
40 cat debian/footer.html >> $@