diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-06-29 15:39:44 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-06-29 15:39:44 +0300 |
commit | 377247630a0da10470e23980db90c7923064a605 (patch) | |
tree | dac4ee772be175a80c94478d1c0280a3c3edc1de | |
parent | 7e4528482b7bf03d2953819e157abab09269278c (diff) | |
download | obnam-377247630a0da10470e23980db90c7923064a605.tar.gz |
Don't build PDF manual in Debian package
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | debian/control | 3 | ||||
-rwxr-xr-x | debian/rules | 2 | ||||
-rw-r--r-- | manual/Makefile | 13 |
4 files changed, 12 insertions, 8 deletions
diff --git a/debian/changelog b/debian/changelog index 85cbe962..fe08fa77 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ obnam (1.10-1) UNRELEASED; urgency=medium * Fix "restore to /tmp messes up directory perms" by preventing restores to a non-empty directory. (Closes: #760492) * Add build-dependency on git. + * Drop build-dependency on texlive and building of PDF form of manual. + Texlive is an insanely large build dependency. -- Lars Wirzenius <liw@liw.fi> Sat, 13 Jun 2015 09:34:51 +0300 diff --git a/debian/control b/debian/control index 25d48e31..3cf88e1b 100644 --- a/debian/control +++ b/debian/control @@ -19,9 +19,6 @@ Build-Depends: debhelper (>= 7.3.8), attr, python-fuse, pandoc, - texlive-full, - texlive-lang-german, - lmodern, git Homepage: http://obnam.org/ X-Python-Version: >= 2.6 diff --git a/debian/rules b/debian/rules index ec667cda..b9925e96 100755 --- a/debian/rules +++ b/debian/rules @@ -4,7 +4,7 @@ override_dh_auto_build: dh_auto_build - make -C manual + make -C manual html override_dh_auto_test: python setup.py build_ext -i diff --git a/manual/Makefile b/manual/Makefile index 3d84270f..ac291953 100644 --- a/manual/Makefile +++ b/manual/Makefile @@ -26,15 +26,20 @@ VERSION = Version $(shell git describe || python ../setup.py --version) en_sources = $(shell ls en/*.mdwn) fr_sources = $(shell ls fr/*.mdwn) de_sources = $(shell ls de/*.mdwn) -outputs = \ +pdfs = \ obnam-manual.en.pdf \ - obnam-manual.en.html \ obnam-manual.fr.pdf \ + obnam-manual.de.pdf +htmls = \ + obnam-manual.en.html \ obnam-manual.fr.html \ - obnam-manual.de.pdf \ obnam-manual.de.html -all: $(outputs) +all: html pdf + +html: $(htmls) + +pdf: $(pdfs) obnam-manual.en.pdf: Makefile $(en_sources) ./format-pdf $@ "$(TITLE_EN)" "$(AUTHOR)" "$(VERSION)" $(en_sources) |