1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Author: Thorsten Alteholz <debian@alteholz.de>
Description: handle srcdir and top_srcdir
--- mpb-1.4.2.orig/utils/Makefile.in
+++ mpb-1.4.2/utils/Makefile.in
@@ -1,10 +1,15 @@
# Variables substituted by the autoconf configure script:
SHELL = @SHELL@
+mandir = @mandir@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
CC = @CC@
CFLAGS = @CFLAGS@
-CPPFLAGS = -I../src/util -I../src/matrices -I../src/matrixio @CPPFLAGS@
+CPPFLAGS = -I$(top_srcdir)/src/util -I$(top_srcdir)/src/matrices -I$(top_srcdir)/src/matrixio -I. @CPPFLAGS@
DEFS = @DEFS@ -DMPB_VERSION='"'"@MPB_VERSION@"'"'
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
@@ -38,7 +43,7 @@
$(INSTALL) -d $(prefix)/bin
$(INSTALL) -m 0755 -s mpb-data $(prefix)/bin/`echo mpb-data|sed '$(transform)'`
$(INSTALL) -d $(mandir)/man1
- $(INSTALL) -m 0644 mpb-data.1 $(mandir)/man1
+ $(INSTALL) -m 0644 $(srcdir)/mpb-data.1 $(mandir)/man1
clean:
rm -f mpb-data mpb-data.o core
|