[singular] 05/45: optionally build docs

felix salfelder felix-guest at alioth.debian.org
Sat Sep 14 13:57:00 UTC 2013


This is an automated email from the git hooks/post-receive script.

felix-guest pushed a commit to branch master-3-1-5
in repository singular.

commit 8178b121bf254d102397952172a47c7d9ed360d8
Author: Felix Salfelder <felix at salfelder.org>
Date:   Mon Jul 15 20:30:41 2013 +0200

    optionally build docs
---
 debian/rules |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/debian/rules b/debian/rules
index c4959ab..0aa7cd3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,11 +12,13 @@ CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
 LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
 
 DOC_TRUE=
+DOC_FALSE=
 ifneq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
 	DOC_TRUE=\#
 else
 	ENABLE_DOC=--enable-doc
 	DOCDIR=doc
+	DOC_FALSE=\#
 endif
 
 
@@ -197,6 +199,11 @@ install: build-stamp doc-stamp emacs-stamp
 	$(DOC_TRUE)	SINGULAR='$(CURDIR)/Singular/Singular' \
 	$(DOC_TRUE)	install_prefix=$(CURDIR)/debian/tmp/usr/share/singular-$(VERSION) \
 	$(DOC_TRUE)	install-sharedist
+	$(DOC_FALSE)mkdir -p $(CURDIR)/debian/tmp/usr/share/singular-$(VERSION)/info
+	$(DOC_FALSE)mkdir -p $(CURDIR)/debian/tmp/usr/share/singular-$(VERSION)/examples
+	$(DOC_FALSE)mkdir -p $(CURDIR)/debian/tmp/usr/share/singular-$(VERSION)/html
+	$(DOC_FALSE)mkdir -p $(CURDIR)/debian/tmp/usr/share/singular-$(VERSION)/doc
+	$(DOC_FALSE)mkdir -p $(CURDIR)/debian/tmp/usr/share/singular-$(VERSION)/emacs
 	$(DOC_TRUE)$(MAKE) -C emacs \
 	$(DOC_TRUE)	prefix="$(CURDIR)" \
 	$(DOC_TRUE)	examplesdir="$(CURDIR)/doc/examples" \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/singular.git



More information about the debian-science-commits mailing list