Commit b591a2cc authored by Elana Hashman's avatar Elana Hashman

Remove markdown->html doc generation

parent b71dc1d8
......@@ -8,6 +8,7 @@ scout-clojure (0.1.1-5) unstable; urgency=medium
[ Elana Hashman ]
* Update Vcs links to salsa. (mango)
* Remove markdown->html doc generation.
-- Tom Marble <tmarble@info9.net> Mon, 26 Feb 2018 17:41:29 -0600
......
......@@ -9,8 +9,7 @@ Build-Depends:
debhelper (>= 10),
maven-repo-helper (>= 1.7),
default-jdk,
javahelper (>= 0.43),
libtext-markdown-perl | markdown
javahelper (>= 0.43)
Standards-Version: 4.1.3
Vcs-Git: https://salsa.debian.org/clojure-team/scout.git
Vcs-Browser: https://salsa.debian.org/clojure-team/scout
......
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>@TITLE@</title>
</head>
<body>
......@@ -4,10 +4,6 @@ Author: David Santiago
Abstract: An introduction to scout
Section: Programming
Format: HTML
Index: /usr/share/doc/libscout-clojure/html/README.html
Files: /usr/share/doc/libscout-clojure/html/README.html
Format: Text
Index: /usr/share/doc/libscout-clojure/README.md
Files: /usr/share/doc/libscout-clojure/README.md
......@@ -4,7 +4,6 @@ include /usr/share/javahelper/java-vars.mk
export JAVA_HOME=/usr/lib/jvm/default-java
export CLASSPATH=/usr/share/java/clojure.jar
MDWN_DOCS = $(patsubst %.md,%.html,$(wildcard $(CURDIR)/*.md))
PRODUCED_JAR=scout.jar
NAMESPACE=scout/scout
MAVEN_META=META-INF/maven/$(NAMESPACE)
......@@ -13,9 +12,8 @@ LEIN_META=META-INF/leiningen/$(NAMESPACE)
%:
dh $@ --with javahelper,jh_maven_repo_helper
override_jh_build: $(MDWN_DOCS)
override_jh_build:
jar cf $(PRODUCED_JAR) -C src .
mkdir -p $(CURDIR)/doc/html && mv $(CURDIR)/*.html $(CURDIR)/doc/html
mkdir -p $(CURDIR)/meta/$(MAVEN_META)
mkdir -p $(CURDIR)/meta/$(LEIN_META)
cp $(CURDIR)/project.clj $(CURDIR)/meta/$(LEIN_META)
......@@ -25,11 +23,4 @@ override_jh_build: $(MDWN_DOCS)
override_jh_clean:
jh_clean
rm -f $(CURDIR)/$(PRODUCED_JAR)
rm -rf $(CURDIR)/doc
rm -rf $(CURDIR)/meta
%.html:%.md
cat debian/header.html > $@
sed -i'' -e 's/@TITLE@/$(shell head -n 1 $< | sed 's/^#*\s*//')/g' $@
markdown $< >> $@
cat debian/footer.html >> $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment