patches: VPATH build of viewres, xedit, xfd, xgc, and xgc fails

Peter Breitenlohner peb at mppmu.mpg.de
Fri Nov 7 00:49:20 PST 2008


Hi Alan, Julien,

the five apps viewres, xedit, xfd, xgc, and xgc have moved their
appdefault files to a subdirectory app-defaults but haven't made sure that
this subdirectory exists in the build tree. Consequently a VPATH build
(distcheck!) fails.

Attached are five tiny patches. Could one of you you please apply them.

Regards,
Peter Breitenlohner <peb at mppmu.mpg.de>
-------------- next part --------------
From 48801cf45c64a0ca9ea1e35142ee975b0a33fdff Mon Sep 17 00:00:00 2001
From: Peter Breitenlohner <peb at mppmu.mpg.de>
Date: Thu, 6 Nov 2008 21:02:13 +0100
Subject: [PATCH] enabled VPATH build

---
 Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 755791a..cc93247 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -41,6 +41,7 @@ APPDEFAULTFILES = \
 SUFFIXES = .ad 
 
 .ad:
+	test -d app-defaults || mkdir app-defaults
 	cp $< $@
 
 appdefault_DATA = $(APPDEFAULTFILES)
-- 
1.6.0.3

-------------- next part --------------
From 0a7cf8affd6689dc6691e5a19f079cfa6cb11cd7 Mon Sep 17 00:00:00 2001
From: Peter Breitenlohner <peb at mppmu.mpg.de>
Date: Thu, 6 Nov 2008 21:19:56 +0100
Subject: [PATCH] enabled VPATH build

---
 Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 5d24e60..42ea3d2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -169,15 +169,18 @@ APPDEFAULTFILES = \
 
 if USE_XPRINT
 app-defaults/Xedit.ad: 
+	test -d app-defaults || mkdir app-defaults
 	cp $(top_srcdir)/app-defaults/Xedit-xprint.ad app-defaults/Xedit.ad
 else
 app-defaults/Xedit.ad:
+	test -d app-defaults || mkdir app-defaults
 	cp $(top_srcdir)/app-defaults/Xedit-noxprint.ad app-defaults/Xedit.ad
 endif
 
 SUFFIXES = .ad 
 
 .ad:
+	test -d app-defaults || mkdir app-defaults
 	cp $< $@
 
 appdefaultdir = @appdefaultdir@
-- 
1.6.0.3

-------------- next part --------------
From a2f01f8edbe3c9b9791f3426ae9432aae1435a8a Mon Sep 17 00:00:00 2001
From: Peter Breitenlohner <peb at mppmu.mpg.de>
Date: Thu, 6 Nov 2008 21:29:16 +0100
Subject: [PATCH] enabled VPATH build

---
 Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index e07348d..86460f3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -43,6 +43,7 @@ APPDEFAULTFILES = \
 SUFFIXES = .ad
 
 .ad:
+	test -d app-defaults || mkdir app-defaults
 	cp $< $@
 
 appdefault_DATA = $(APPDEFAULTFILES)
-- 
1.6.0.3

-------------- next part --------------
From 0827958dccf7e48c0af4b14c574443b525dd6509 Mon Sep 17 00:00:00 2001
From: Peter Breitenlohner <peb at mppmu.mpg.de>
Date: Thu, 6 Nov 2008 21:43:37 +0100
Subject: [PATCH] enabled VPATH build

---
 Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 213c499..06cad84 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -62,6 +62,7 @@ APPDEFAULTFILES = \
 SUFFIXES = .ad
 
 .ad:
+	test -d app-defaults || mkdir app-defaults
 	cp $< $@
 
 appdefault_DATA = $(APPDEFAULTFILES)
-- 
1.6.0.3

-------------- next part --------------
From dfb8f23d3aa2e2c9bfa702cfb2162ca2a1b5b3c0 Mon Sep 17 00:00:00 2001
From: Peter Breitenlohner <peb at mppmu.mpg.de>
Date: Thu, 6 Nov 2008 22:29:18 +0100
Subject: [PATCH] enabled VPATH build

---
 Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 8e157e0..ee00e1e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -77,6 +77,7 @@ APPDEFAULTFILES = \
 SUFFIXES = .ad
 
 .ad:
+	test -d app-defaults || mkdir app-defaults
 	cp $< $@
 
 appdefault_DATA = $(APPDEFAULTFILES)
-- 
1.6.0.3



More information about the xorg mailing list