diff options
Diffstat (limited to 'clients/zctl/Makefile.in')
-rw-r--r-- | clients/zctl/Makefile.in | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/clients/zctl/Makefile.in b/clients/zctl/Makefile.in index 105fe10..fa8d4ae 100644 --- a/clients/zctl/Makefile.in +++ b/clients/zctl/Makefile.in @@ -22,6 +22,12 @@ LIBTOOL=@LIBTOOL@ CC=@CC@ INSTALL=@INSTALL@ +editman = sed \ + -e 's|@datadir[@]|${datadir}|g' \ + -e 's|@sysconfdir[@]|${sysconfdir}|g' \ + -e 's|@sbindir[@]|${sbindir}|g' \ + -e 's|@lsbindir[@]|${lsbindir}|g' + LIBZEPHYR=${BUILDTOP}/lib/libzephyr.la CPPFLAGS=@CPPFLAGS@ CFLAGS=@CFLAGS@ @@ -32,7 +38,7 @@ LIBS=${LIBZEPHYR} @SS_LIBS@ @LIBS@ -lcom_err SS_OBJS=zctl_cmds.o OBJS= zctl.o @SS_OBJS@ -all: zctl +all: zctl zctl.1 zctl: ${OBJS} ${LIBZEPHYR} ${LIBTOOL} --mode=link ${CC} ${LDFLAGS} -o $@ ${OBJS} ${LIBS} @@ -43,6 +49,10 @@ zctl_cmds.c: zctl_cmds.ct .c.o: ${CC} -c ${ALL_CFLAGS} $< +zctl.1: ${srcdir}/zctl.1.in Makefile + ${editman} ${srcdir}/$@.in > $@.tmp + mv $@.tmp $@ + check: install: zctl @@ -52,6 +62,7 @@ install: zctl clean: ${LIBTOOL} --mode=clean rm -f zctl rm -f ${OBJS} zctl_cmds.c + rm -f zctl.1 ${OBJS}: ${top_srcdir}/h/sysdep.h ${BUILDTOP}/h/config.h ${OBJS}: ${BUILDTOP}/h/zephyr/zephyr.h ${BUILDTOP}/h/zephyr/zephyr_err.h |