Source

debian/libjs-mathjax / rules

Full commit
#!/usr/bin/make -f
# -*- makefile -*-
# This file was originally written by Joey Hess and Craig Small.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@ 

override_dh_auto_build:
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	$(MAKE) -C docs html
	rm -rf docs/html/_sources
endif

override_dh_compress:
	dh_compress -X.js

get-orig-source:
	uscan --noconf --force-download --rename --repack --download-current-version --destdir=. --verbose