[hackers] [libixp] Fix install.

From: Kris Maglione <jg_AT_suckless.org>
Date: Sun Jul 01 23:11:20 2007

changeset: 70:be114f741413
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Sun Jul 01 17:09:14 2007 -0400
summary: Fix install.

diff -r ff3f81c25651 -r be114f741413 include/ixp.h
--- a/include/ixp.h Sun Jul 01 16:41:22 2007 -0400
+++ b/include/ixp.h Sun Jul 01 17:09:14 2007 -0400
@@ -406,9 +406,9 @@ int ixp_pthread_init(void);
 int ixp_pthread_init(void);
 
 #ifdef VARARGCK
-# pragma varargck argpos ixp_print 3
-# pragma varargck argpos ixp_werrstr 2
-# pragma varargck argpos ixp_eprint 2
+# pragma varargck argpos ixp_print 2
+# pragma varargck argpos ixp_werrstr 1
+# pragma varargck argpos ixp_eprint 1
 #endif
 
 /* client.c */
diff -r ff3f81c25651 -r be114f741413 mk/hdr.mk
--- a/mk/hdr.mk Sun Jul 01 16:41:22 2007 -0400
+++ b/mk/hdr.mk Sun Jul 01 17:09:14 2007 -0400
@@ -32,35 +32,35 @@ all:
         chmod 0755 $@
 
 .O.install:
- echo INSTALL ${BASE}$*
+ echo INSTALL $$($(CLEANNAME) ${BASE}$*)
         cp -f $< ${BIN}/$*
         chmod 0755 ${BIN}/$*
 .O.uninstall:
- echo UNINSTALL ${BASE}$*
+ echo UNINSTALL $$($(CLEANNAME) ${BASE}$*)
         rm -f ${BIN}/$*
 
 .a.install:
- echo INSTALL ${BASE}$<
+ echo INSTALL $$($(CLEANNAME) ${BASE}$<)
         cp -f $< ${LIBDIR}/$<
         chmod 0644 ${LIBDIR}/$<
 .a.uninstall:
- echo UNINSTALL ${BASE}$<
+ echo UNINSTALL $$($(CLEANNAME) ${BASE}$<)
         rm -f ${LIBDIR}/$<
 
 .h.install:
- echo INSTALL ${BASE}$<
+ echo INSTALL $$($(CLEANNAME) ${BASE}$<)
         cp -f $< ${INCLUDE}/$<
         chmod 0644 ${INCLUDE}/$<
 .h.uninstall:
- echo UNINSTALL ${BASE}$<
+ echo UNINSTALL $$($(CLEANNAME) ${BASE}$<)
         rm -f ${INCLUDE}/$<
 
 .1.install:
- echo INSTALL man $*'(1)'
+ echo INSTALL man $$($(CLEANNAME) $*'(1)')
         ${FILTER} $< >${MAN}/man1/$<
         chmod 0644 ${MAN}/man1/$<
 .1.uninstall:
- echo UNINSTALL man $*'(1)'
+ echo UNINSTALL man $$($(CLEANNAME) $*'(1)')
         rm -f ${MAN}/man1/$<
 
 .O.clean:
@@ -78,6 +78,7 @@ FILTER = cat
 FILTER = cat
 COMPILE= CC="${CC}" CFLAGS="${CFLAGS}" ${ROOT}/util/compile
 LINK= LD="${LD}" LDFLAGS="${LDFLAGS}" ${ROOT}/util/link
+CLEANNAME=${ROOT}/util/cleanname
 
 include ${ROOT}/config.mk
 CFLAGS += -I$$(echo ${INCPATH}|sed 's/:/ -I/g')
diff -r ff3f81c25651 -r be114f741413 mk/lib.mk
--- a/mk/lib.mk Sun Jul 01 16:41:22 2007 -0400
+++ b/mk/lib.mk Sun Jul 01 17:09:14 2007 -0400
@@ -1,10 +1,11 @@ LIB = ${ROOT}/lib/${TARG}.a
-LIB = ${ROOT}/lib/${TARG}.a
+PTARG = ${ROOT}/lib/${TARG}
+LIB = ${PTARG}.a
 OFILES = ${OBJ:=.o}
 
 all: ${HFILES} ${LIB}
 
-install: ${TARG}.install
-uninstall: ${TARG}.uninstall
+install: ${PTARG}.install
+uninstall: ${PTARG}.uninstall
 clean: libclean
 depend: ${OBJ:=.depend}
 
Received on Sun Jul 01 2007 - 23:11:20 UTC

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