eukleides (1.5.4-2) direct (non packaging) changes

Summary

 Config         |    4 ++--
 Makefile       |    3 ++-
 build/Makefile |    2 +-
 doc/Makefile   |    5 +++--
 4 files changed, 8 insertions(+), 6 deletions(-)

    
download this patch

Patch contents

--- eukleides-1.5.4.orig/Makefile
+++ eukleides-1.5.4/Makefile
@@ -51,7 +51,8 @@
 	@echo "Installing TeX files"
 	@install -d $(TEX_DIR)
 	@install -m 0644 tex/* $(TEX_DIR)
-	@mktexlsr 2> /dev/null
+	#@mktexlsr 2> /dev/null
+	mktexlsr 
 
 install_loc:
 ifneq ($(LOC),)
--- eukleides-1.5.4.orig/Config
+++ eukleides-1.5.4/Config
@@ -2,7 +2,7 @@
 # Copyright (c) Christian Obrecht 2004-2010
 
 # Installation prefix
-PREFIX=/usr/local
+PREFIX=$(DESTDIR)/usr
 
 BINARIES = eukleides euktopst
 
@@ -12,7 +12,7 @@
 
 # Documentation
 # Alternative targets are 'pdf' and 'html'.
-DOC = info
+DOC = info html
 
 # Preferred HTML output
 # Comment this out for single HTML file.
--- eukleides-1.5.4.orig/build/Makefile
+++ eukleides-1.5.4/build/Makefile
@@ -17,7 +17,7 @@
 MOFLAGS = -DMO_DIR=\"$(MO_DIR)\" 
 endif
 CFLAGS = -Wall -D__$(BINARY)__ $(IFLAGS) $(MOFLAGS)
-LDFLAGS = -lncurses -lreadline -lm
+LDFLAGS = -lreadline -lm
 VPATH = $(COMMON_DIR):$(MAIN_DIR):$(BUILD_DIR)
 
 $(BINARY):
--- eukleides-1.5.4.orig/doc/Makefile
+++ eukleides-1.5.4/doc/Makefile
@@ -9,7 +9,7 @@
 
 documentation: $(DOC)
 
-info: eukleides.info.gz
+info: eukleides.info
 
 eukleides.info: $(TEXI)
 	@echo "    Building info pages"
@@ -45,7 +45,8 @@
 
 INST_TARG := $(addprefix install_, $(DOC))
 
-install: $(INST_TARG)
+install:
+#install: $(INST_TARG)
 
 install_info: eukleides.info.gz
 	@echo "    Installing info pages"