libixp

git clone git://oldgit.suckless.org/libixp/
Log | Files | Refs | LICENSE

commit db3a15051ebe87b2bdf081c0b2694aa386890352
parent 11ba631245551bedd3a89c518638e4e0e9a89770
Author: Kris Maglione <jg@suckless.org>
Date:   Sun,  1 Jul 2007 17:34:11 -0400

Fix ixp_fcall.h generation.

Diffstat:
libixp/Makefile | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/libixp/Makefile b/libixp/Makefile @@ -3,7 +3,8 @@ include ${ROOT}/mk/hdr.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) +