psmisc/0003-Makefile.am-create-src-before-src-signames.h.patch
Jan Rybar 55f7cc57ed Backport of upstream patches since v23.2 release
Added support of peekfd on aarch64
2019-09-06 14:44:27 +02:00

30 lines
941 B
Diff

From b7dc1c5eb9459f83b2355c8f061933c74b71c724 Mon Sep 17 00:00:00 2001
From: Michael Stapelberg <michael@stapelberg.de>
Date: Sun, 14 Oct 2018 16:07:23 +0200
Subject: [PATCH 03/11] Makefile.am: create src/ before src/signames.h
This fixes out-of-tree builds which use
--disable-dependency-tracking. With dependency tracking enabled,
src/.deps is created as a side-effect of how dependency tracking
works, which is why this issue was never noticed before.
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index d8c4619..8859818 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -79,7 +79,7 @@ EXTRA_DIST = src/signames.c README.md misc/git-version-gen
CLEANFILES = src/signames.h
-src/signames.h: src/signames.c Makefile
+src/signames.h: src/signames.c Makefile src/$(am__dirstamp)
export LC_ALL=C ; \
@CPP@ -dM $< |\
tr -s '\t ' ' ' | sort -n -k 3 | sed \
--
2.20.1