2009-05-15 20:01:56 +00:00
|
|
|
# Copyright (c) M Broek, 1997-2000
|
|
|
|
# Top-level makefile for MBSE BBS html documentation.
|
|
|
|
# $Id: Makefile,v 1.43 2007/03/01 19:12:54 mbse Exp $
|
|
|
|
|
|
|
|
include ../Makefile.global
|
|
|
|
|
|
|
|
H_BASE = dist.html manual.css errcodes.html \
|
|
|
|
flow.html postfix.html ups.html doors.html \
|
|
|
|
intergate.html intro.html invoking.html faq.html \
|
|
|
|
known_bugs.html mgetty.html routing.html nodelist.html
|
|
|
|
|
2011-07-03 11:12:50 +00:00
|
|
|
H_FTSC = ftsc/index.html
|
2009-05-15 20:01:56 +00:00
|
|
|
|
|
|
|
H_IMAGES = images/b_arrow.png images/magic.png images/nodes1.png \
|
|
|
|
images/connec.png images/mbsetup0.png images/nodes2.png \
|
|
|
|
images/domains.png images/mbsetup1.6.S.png images/nodes3.png \
|
|
|
|
images/e_menu.png images/mbsetup1.6.png images/nodes4.png \
|
|
|
|
images/emareas.png images/mbsetup2.png images/nodes5.png \
|
|
|
|
images/nodes6.png images/nodes7.png images/nodes8.png \
|
|
|
|
images/nodes9.png images/nodes10.png images/doors.png \
|
|
|
|
images/emgroup.png images/modems0.png images/oneliner.png \
|
|
|
|
images/fdb.png images/newfiles.png images/protocol.png \
|
|
|
|
images/fegroup.png images/newgroups.png images/rarrow.png \
|
|
|
|
images/fileecho.png images/nodelist.png images/security.png \
|
|
|
|
images/filefind.png images/nodelist1.png images/tty.png \
|
|
|
|
images/files.png images/nodelist2.png images/tty1.png \
|
|
|
|
images/go_to.png images/nodelist3.png images/tty2.png \
|
|
|
|
images/hatch.png images/nodelist4.png \
|
|
|
|
images/language.png images/nodelist5.png images/uarrow.png \
|
|
|
|
images/larrow.png images/users.png images/doors2.png \
|
|
|
|
images/mbse.png images/taskmgr.png images/mbsebbs-s.png \
|
|
|
|
images/mbsebbs.png images/users2.png images/hand.up.png \
|
|
|
|
images/dream1.png images/dream2.png images/dream3.png \
|
|
|
|
images/tdream1.png images/tdream2.png images/tdream3.png \
|
|
|
|
images/route1.png images/route2.png images/mbmon1.png \
|
|
|
|
images/mbmon2.png images/mbmon1-tn.png images/mbmon2-tn.png \
|
|
|
|
images/nodes11.png
|
|
|
|
|
2011-07-03 11:12:50 +00:00
|
|
|
H_LICENSE = license/copying.html license/hydracom.html license/index.html \
|
2009-05-15 20:01:56 +00:00
|
|
|
license/jam.html
|
|
|
|
|
2011-07-03 11:12:50 +00:00
|
|
|
H_MENUS = menus/control.html menus/index.html menus/menu100.html \
|
2009-05-15 20:01:56 +00:00
|
|
|
menus/menu300.html menus/menu500.html \
|
|
|
|
menus/menu0.html menus/menu200.html menus/menu400.html
|
|
|
|
|
2011-07-03 11:12:50 +00:00
|
|
|
H_MISC = misc/dropfile.html misc/fileid.html misc/index.html \
|
2009-05-15 20:01:56 +00:00
|
|
|
misc/jam.html misc/semafore.html misc/filefind.html \
|
|
|
|
misc/ftpserver.html misc/ipmailer.html misc/outbound.html \
|
|
|
|
misc/usleep.html misc/webserver.html
|
|
|
|
|
|
|
|
H_PROGS = programs/mbfido.html programs/mbmon.html \
|
|
|
|
programs/mbtoberep.html programs/mblogin.html \
|
2011-07-03 11:12:50 +00:00
|
|
|
programs/index.html programs/mbcico.html \
|
2009-05-15 20:01:56 +00:00
|
|
|
programs/mbfile.html programs/mbmsg.html \
|
|
|
|
programs/mbseq.html programs/mbuser.html \
|
|
|
|
programs/mbaff.html programs/mbdiff.html \
|
|
|
|
programs/mbindex.html programs/mbout.html \
|
|
|
|
programs/mbsetup.html programs/mbuseradd.html \
|
|
|
|
programs/mball.html programs/mbnntp.html \
|
|
|
|
programs/mblang.html programs/mbsebbs.html \
|
|
|
|
programs/mbstat.html programs/mbpasswd.html \
|
|
|
|
programs/mbtask.html
|
|
|
|
|
2011-07-03 11:12:50 +00:00
|
|
|
H_SETUP = setup/archiver.html setup/index.html setup/bbs.html \
|
|
|
|
setup/language.html setup/oneliner.html \
|
2009-05-15 20:01:56 +00:00
|
|
|
setup/emareas.html setup/magic.html setup/mail.html \
|
|
|
|
setup/protocol.html setup/emgroup.html setup/chat.html \
|
|
|
|
setup/fdb.html setup/security.html setup/sitedoc.html \
|
|
|
|
setup/fegroup.html setup/modems.html setup/softinfo.html \
|
|
|
|
setup/fidonet.html setup/tic.html \
|
|
|
|
setup/fileecho.html setup/newfiles.html setup/filefind.html \
|
|
|
|
setup/newgroups.html setup/files.html setup/nodes.html \
|
|
|
|
setup/ttyinfo.html setup/global.html setup/users.html \
|
|
|
|
setup/hatch.html setup/virscan.html setup/services.html \
|
|
|
|
setup/domains.html setup/taskmgr.html setup/route.html
|
|
|
|
|
2011-07-03 11:12:50 +00:00
|
|
|
H_OTHER = index.html basic.html upgrade.html
|
2009-05-15 20:01:56 +00:00
|
|
|
|
2011-07-03 11:12:50 +00:00
|
|
|
H_IN = index.html.in basic.html.in upgrade.html.in
|
2009-05-15 20:01:56 +00:00
|
|
|
|
|
|
|
FILES = $(H_IN) $(H_BASE) $(H_FTSC) $(H_IMAGES) $(H_LICENSE) $(H_MENUS) $(H_MISC) $(H_PROGS) $(H_SETUP) Makefile
|
|
|
|
|
|
|
|
#########################################################################################################
|
|
|
|
|
|
|
|
all depend clean depend:
|
|
|
|
|
|
|
|
install:
|
2018-09-28 20:22:52 +00:00
|
|
|
@echo "Installing html documentation in ${DESTDIR}${PREFIX}/html"
|
|
|
|
@rm -Rf ${DESTDIR}${PREFIX}/html
|
|
|
|
@mkdir -p ${DESTDIR}${PREFIX}/html
|
|
|
|
@mkdir -p ${DESTDIR}${PREFIX}/html/ftsc
|
|
|
|
@mkdir -p ${DESTDIR}${PREFIX}/html/images
|
|
|
|
@mkdir -p ${DESTDIR}${PREFIX}/html/license
|
|
|
|
@mkdir -p ${DESTDIR}${PREFIX}/html/menus
|
|
|
|
@mkdir -p ${DESTDIR}${PREFIX}/html/misc
|
|
|
|
@mkdir -p ${DESTDIR}${PREFIX}/html/programs
|
|
|
|
@mkdir -p ${DESTDIR}${PREFIX}/html/setup
|
|
|
|
@${CHOWN} ${OWNER}:${GROUP} ${DESTDIR}${PREFIX}/html
|
|
|
|
@${CHOWN} ${OWNER}:${GROUP} ${DESTDIR}${PREFIX}/html/ftsc
|
|
|
|
@${CHOWN} ${OWNER}:${GROUP} ${DESTDIR}${PREFIX}/html/images
|
|
|
|
@${CHOWN} ${OWNER}:${GROUP} ${DESTDIR}${PREFIX}/html/license
|
|
|
|
@${CHOWN} ${OWNER}:${GROUP} ${DESTDIR}${PREFIX}/html/menus
|
|
|
|
@${CHOWN} ${OWNER}:${GROUP} ${DESTDIR}${PREFIX}/html/misc
|
|
|
|
@${CHOWN} ${OWNER}:${GROUP} ${DESTDIR}${PREFIX}/html/programs
|
|
|
|
@${CHOWN} ${OWNER}:${GROUP} ${DESTDIR}${PREFIX}/html/setup
|
|
|
|
@${INSTALL} -p -c -o ${OWNER} -g ${GROUP} -m 0444 ${H_BASE} ${DESTDIR}${PREFIX}/html
|
|
|
|
@${INSTALL} -p -c -o ${OWNER} -g ${GROUP} -m 0444 ${H_OTHER} ${DESTDIR}${PREFIX}/html
|
|
|
|
@${INSTALL} -p -c -o ${OWNER} -g ${GROUP} -m 0444 ${H_FTSC} ${DESTDIR}${PREFIX}/html/ftsc
|
|
|
|
@${INSTALL} -p -c -o ${OWNER} -g ${GROUP} -m 0444 ${H_IMAGES} ${DESTDIR}${PREFIX}/html/images
|
|
|
|
@${INSTALL} -p -c -o ${OWNER} -g ${GROUP} -m 0444 ${H_LICENSE} ${DESTDIR}${PREFIX}/html/license
|
|
|
|
@${INSTALL} -p -c -o ${OWNER} -g ${GROUP} -m 0444 ${H_MENUS} ${DESTDIR}${PREFIX}/html/menus
|
|
|
|
@${INSTALL} -p -c -o ${OWNER} -g ${GROUP} -m 0444 ${H_MISC} ${DESTDIR}${PREFIX}/html/misc
|
|
|
|
@${INSTALL} -p -c -o ${OWNER} -g ${GROUP} -m 0444 ${H_PROGS} ${DESTDIR}${PREFIX}/html/programs
|
|
|
|
@${INSTALL} -p -c -o ${OWNER} -g ${GROUP} -m 0444 ${H_SETUP} ${DESTDIR}${PREFIX}/html/setup
|
2009-05-15 20:01:56 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f filelist
|
2016-09-29 08:55:12 +00:00
|
|
|
rm -f basic.html index.html upgrade.html
|
2009-05-15 20:01:56 +00:00
|
|
|
|
|
|
|
filelist: Makefile
|
|
|
|
BASE=`pwd`; \
|
|
|
|
BASE=`basename $${BASE}`; \
|
|
|
|
(for f in ${FILES}; \
|
|
|
|
do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; \
|
|
|
|
done) >filelist
|
|
|
|
|