[hackers] [libixp] Fix ixp_fcall.h generation.

From: Kris Maglione <jg_AT_suckless.org>
Date: Sun Jul 01 23:36:21 2007

changeset: 73:2f2fac9dc21e
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Sun Jul 01 17:34:11 2007 -0400
summary: Fix ixp_fcall.h generation.

diff -r 02ab93eb71ec -r 2f2fac9dc21e libixp/Makefile
--- a/libixp/Makefile Sun Jul 01 17:25:16 2007 -0400
+++ b/libixp/Makefile Sun Jul 01 17:34:11 2007 -0400
@@ -3,7 +3,8 @@ include ${ROOT}/mk/ixp.mk
 include ${ROOT}/mk/ixp.mk
 
 TARG = libixp
-HFILES = ixp_fcall.h
+FCALL_H = $(ROOT)/include/ixp_fcall.h
+HFILES = $(FCALL_H)
 
 OBJ = client \
         convert \
@@ -20,6 +21,7 @@ OBJ = client \
 
 include ${ROOT}/mk/lib.mk
 
-ixp_fcall.h: fcall.h fcall.h.nounion ${ROOT}/config.mk
- cat fcall.h${FCALL_H_VERSION} > ixp_fcall.h
- cp -f ixp_fcall.h ${ROOT}/include/
+$(FCALL_H): fcall.h${FCALL_H_VERSION} ${ROOT}/config.mk
+ echo HEADER $$($(CLEANNAME) $(BASE)/$(FCALL_H)) from fcall.h${FCALL_H_VERSION}
+ cp fcall.h${FCALL_H_VERSION} $(FCALL_H)
+
Received on Sun Jul 01 2007 - 23:36:21 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:57:28 UTC