commit 5b6585d668c8eba50b6c451b14c3a6fed066dbbb
Author: Jim Meyering <meyering(a)redhat.com>
Date: Mon Sep 19 15:48:24 2011 +0200
build: fix the "make rpm" rules
* Makefile.am (rpm): Build "all" before "dist".
Otherwise, "make rpm" would fail if certain normally-built
files were not present. Reported by James Laska.
Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 22c096f..7cf2e54 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -85,6 +85,7 @@ iwhd.spec: iwhd.spec.in Makefile
rpm:
$(MAKE) clean
$(MAKE) _version
+ umask 022; $(MAKE) LDFLAGS='-Wl,--build-id'
umask 022; $(MAKE) LDFLAGS='-Wl,--build-id' dist
umask 022; export LDFLAGS='-Wl,--build-id'; \
case $(VERSION) in \
Show replies by date