[SCM] an open source computer algebra system branch, debian, updated. 702bf904528e1774db74d037e7b9b729c7b7e5e6

Bernhard R. Link brlink at debian.org
Mon Mar 5 16:57:58 UTC 2012


The following commit has been merged in the debian branch:
commit 702bf904528e1774db74d037e7b9b729c7b7e5e6
Author: Bernhard R. Link <brlink at debian.org>
Date:   Mon Mar 5 17:54:31 2012 +0100

    build and install emacs support files (ESingular seems to work now)

diff --git a/debian/rules b/debian/rules
index 9907074..08bd45c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -98,6 +98,7 @@ clean::
 	rm -f ntl/src/makefile
 	rm -f ntl/src/mfileout
 	rm -f IntegerProgramming/Makefile
+	rm -f emacs/lib-temp
 
 	rm -f config.guess config.sub
 
@@ -188,6 +189,14 @@ build-stamp: configure-stamp
 		SINGULAR='$(CURDIR)/Singular/Singular' \
 		-C doc \
 		standalone-txt standalone-html html singular.idx singular.hlp
+	SINGULAR_BIN_DIR=$(CURDIR)/Singular \
+	 LD_LIBRARY_PATH='$(CURDIR)/Singular'"$${LD_LIBRARY_PATH:+:$${LD_LIBRARY_PATH}}" \
+	 $(MAKE) \
+		prefix="$(CURDIR)" \
+		examplesdir="$(CURDIR)/doc/examples" \
+		SINGULAR='$(CURDIR)/Singular/Singular' \
+		-C emacs \
+		all
 	touch $@
 
 install: build-stamp
@@ -203,6 +212,12 @@ install: build-stamp
 		SINGULAR='$(CURDIR)/Singular/Singular' \
 		install_prefix=$(CURDIR)/debian/tmp/usr/share/singular-$(VERSION) \
 		install-sharedist
+	$(MAKE) -C emacs \
+		prefix="$(CURDIR)" \
+		examplesdir="$(CURDIR)/doc/examples" \
+		SINGULAR='$(CURDIR)/Singular/Singular' \
+		install_prefix=$(CURDIR)/debian/tmp/usr/share/singular-$(VERSION) \
+		install-sharedist
 	# replace with symlink:
 	ln -sf libsingular-$(VERSION).so debian/tmp/usr/lib/libsingular.so
 	# surfex is not included due to missing sources, so do not install wrappers, either:
diff --git a/debian/singular.install b/debian/singular.install
index e384b76..37856ca 100644
--- a/debian/singular.install
+++ b/debian/singular.install
@@ -3,3 +3,4 @@
 /usr/share/singular-*/examples
 /usr/share/singular-*/html
 /usr/share/singular-*/doc
+/usr/share/singular-*/emacs

-- 
an open source computer algebra system



More information about the debian-science-commits mailing list