[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-cppi] [PATCH] build: accommodate "make distdir" before "make all"
From: |
Jim Meyering |
Subject: |
[bug-cppi] [PATCH] build: accommodate "make distdir" before "make all" |
Date: |
Thu, 18 Mar 2010 14:54:54 +0100 |
"make distdir" now succeeds even when it's
run before an initial "make".
>From 49d4baaf363bc31b2a3e90bf2c7c446c04e0f9f9 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Thu, 18 Mar 2010 14:50:55 +0100
Subject: [PATCH] build: accommodate "make distdir" before "make all"
* lib/Makefile.am (dist-hook): Depend on $(noinst_LIBRARIES),
so that "make distdir" can succeed before "make all" has run.
---
lib/Makefile.am | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 5676549..65480b5 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -3,3 +3,7 @@
include gnulib.mk
AM_CFLAGS += $(WARNING_CFLAGS) $(WERROR_CFLAGS)
+
+# Allow "make distdir" to succeed before "make all" has run.
+dist-hook: $(noinst_LIBRARIES)
+.PHONY: dist-hook
--
1.7.0.2.455.g91132
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-cppi] [PATCH] build: accommodate "make distdir" before "make all",
Jim Meyering <=