diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -142,10 +142,14 @@ LIBTONEZONE_SO:=libtonezone.so LIBTONEZONE_SO_MAJOR_VER:=1 LIBTONEZONE_SO_MINOR_VER:=0 +MANDIR = /usr/share/man/man8 +MAN_PAGES_BASE = ztcfg BINS=ztcfg torisatool makefw ztmonitor ztspeed zttest fxotune ifneq (,$(wildcard /usr/include/newt.h)) BINS+=zttool +MAN_PAGES_BASE += zttool endif +MAN_PAGES = $(MAN_PAGES_BASE%=doc/%.8) ifeq ($(BUILDVER),linux24) all: prereq $(MODULESO) wct4xxp/wct4xxp.o $(BINS) $(LIBTONEZONE_SO) @@ -354,6 +358,9 @@ install: all devices firmware install -D -m 755 sethdlc $(INSTALL_PREFIX)/sbin/sethdlc ; \ fi if [ -f zttool ]; then install -D -m 755 zttool $(INSTALL_PREFIX)/sbin/zttool; fi + install -d $(INSTALL_PREFIX)$(MANDIR) + install -m 644 $(MAN_PAGES) $(INSTALL_PREFIX)$(MANDIR) + exit 1 ifeq ($(BUILDVER),linux26) for x in $(MODULESKO); do \ rm -f $(INSTALL_PREFIX)/lib/modules/$(KVERS)/extra/$$x ; \ |