chiark / gitweb /
build system: Move srcdir setting out of common.make.in
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 19 Oct 2019 22:00:28 +0000 (23:00 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 24 Oct 2019 18:16:15 +0000 (19:16 +0100)
This varies according to the cwd.  So for common.make.in it is always
the top-level.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Makefile.in
common.make.in

index 1c76f9a..0fd17f7 100644 (file)
@@ -23,7 +23,7 @@ PACKAGE:=secnet
 VERSION=0.4.5
 
 VPATH:=@srcdir@
-
+srcdir:=@srcdir@
 include common.make
 
 INSTALL:=@INSTALL@
index 7b22334..109ff3a 100644 (file)
@@ -19,8 +19,6 @@
 
 @SET_MAKE@
 
-srcdir:=@srcdir@
-
 SHELL:=/bin/sh
 RM:=@RM@
 CC:=@CC@