Initial Debian packaging

parent 8c3ca2c2
tools-trace-clojure (0.7.9-1) unstable; urgency=medium
* Initial release (Closes: #855756)
-- Apollon Oikonomopoulos <> Mon, 20 Mar 2017 15:14:16 +0200
Source: tools-trace-clojure
Section: java
Priority: optional
Maintainer: Debian Clojure Maintainers <>
Uploaders: Apollon Oikonomopoulos <>
debhelper (>= 10),
javahelper (>= 0.32),
maven-repo-helper (>= 1.7),
clojure (>= 1.8),
libtext-markdown-perl | markdown,
Standards-Version: 3.9.8
Package: libtools-trace-clojure
Architecture: all
Recommends: ${java:Recommends}
Description: Clojure tracing facility in Clojure
A Clojure trace tool. Defines tracing macros/fns to help you see what your
code is doing. Formerly known as clojure.contrib.trace.
This diff is collapsed.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
# List of POM files for the package
# Format of this file is:
# <path to pom file> [option]*
# where option can be:
# --ignore: ignore this POM and its artifact if any
# --ignore-pom: don't install the POM. To use on POM files that are created
# temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
# --no-parent: remove the <parent> tag from the POM
# --package=<package>: an alternative package to use when installing this POM
# and its artifact
# --has-package-version: to indicate that the original version of the POM is the same as the upstream part
# of the version for the package.
# --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
# during a clean operation with mh_cleanpom or mh_installpom
# --artifact=<path>: path to the build artifact associated with this POM,
# it will be installed when using the command mh_install. [mh_install]
# --java-lib: install the jar into /usr/share/java to comply with Debian
# packaging guidelines
# --usj-name=<name>: name to use when installing the library in /usr/share/java
# --usj-version=<version>: version to use when installing the library in /usr/share/java
# --no-usj-versionless: don't install the versionless link in /usr/share/java
# --dest-jar=<path>: the destination for the real jar.
# It will be installed with mh_install. [mh_install]
# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
# --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
# Empty by default. [mh_install]
pom.xml --no-parent --has-package-version --usj-name=tools.trace
#!/usr/bin/make -f
include /usr/share/javahelper/
MDWN_DOCS = $(patsubst,%.html,$(wildcard $(CURDIR)/*.md))
export CLASSPATH=/usr/share/java/clojure.jar
dh $@ --with javahelper --with jh_maven_repo_helper
override_jh_build: $(MDWN_DOCS)
jar cf $(PRODUCED_JAR) -C src/main/clojure .
mkdir -p $(CURDIR)/doc/html && mv $(CURDIR)/*.html $(CURDIR)/doc/html
jh_classpath $(PRODUCED_JAR)
rm -rf $(CURDIR)/doc/html
(cd src/test && find . -name '*.clj' | xargs clojure -cp)
cat debian/header.html > $@
sed -i'' -e 's#@TITLE@#$(shell head -n 1 $< | sed 's/^#*\s*//')#g' $@
markdown $< >> $@
cat debian/footer.html >> $@
version=3 .*-(.*).tar.gz
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