60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
!include "targets.vc"
.SUFFIXES: .c .obj .res .man
#---------------------------------------------------------------------
# Project specific targets
#---------------------------------------------------------------------
all: setup default-target
clean: default-clean
realclean: default-hose
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
!include "targets.vc"
.SUFFIXES: .c .obj .res .man
#---------------------------------------------------------------------
# Project specific targets
#---------------------------------------------------------------------
# Implicit rule to generate html from man files
# NOTE: this requires doctools from tcllib hence it is not intended
# to be run during install. Rather, use it to generate a new version
# of HTML docs to be stored in the repository.
make-docs-html:
"$(_INSTALLDIR)\..\bin\tclsh.exe" "$(_INSTALLDIR)\..\bin\dtplite.tcl" \
-o "$(ROOT)\doc\$(PROJECT).html" html "$(ROOT)\doc\$(PROJECT).man"
make-docs-n:
"$(_INSTALLDIR)\..\bin\tclsh.exe" "$(_INSTALLDIR)\..\bin\dtplite.tcl" \
-o "$(ROOT)\doc\$(PROJECT).n" nroff "$(ROOT)\doc\$(PROJECT).man"
make-docs:
"$(_INSTALLDIR)\..\bin\tclsh.exe" "$(_INSTALLDIR)\..\bin\dtplite.tcl" \
-o "$DOCDIR" html "$(ROOT)\doc"
"$(_INSTALLDIR)\..\bin\tclsh.exe" "$(_INSTALLDIR)\..\bin\dtplite.tcl" \
-o "$DOCDIR" nroff "$(ROOT)\doc"
docs: make-docs-n make-docs-html
all: setup default-target
clean: default-clean
realclean: default-hose
|