summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rw-r--r--debian/control3
-rwxr-xr-xdebian/rules2
-rw-r--r--manual/Makefile13
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)