File: Makefile

package info (click to toggle)
slang2 2.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 10,588 kB
  • ctags: 10,558
  • sloc: ansic: 95,506; sh: 3,277; makefile: 945; pascal: 143
file content (41 lines) | stat: -rw-r--r-- 1,254 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# -*- sh -*-
#
# To create the SGML files, you will need to install the tm-utils
# package.  See http://www.jedsoft.org/ for more information.
#
#TMEXPAND = $(HOME)/lib/tmexpand/bin/tmexpand
TMEXPAND=tmexpand
MACRODIR = # -I$(HOME)/lib/tmexpand/macros
TM2SGML = tmexpand
SGML2HTML = sgml2html

HLP_FILES = pngfuns.hlp pcrefuns.hlp sockfuns.hlp onigfuns.hlp \
  randfuns.hlp forkfuns.hlp csvfuns.hlp slsmg.hlp histfuns.hlp \
  statsfuns.hlp jsonfuns.hlp base64funs.hlp chksumfuns.hlp

all: help-files
help-files: $(HLP_FILES)
html: modfuns.html

.SUFFIXES: .tm .hlp
.tm.hlp:
	$(TMEXPAND) $(MACRODIR) -Mslhlp $< $@
#----------------------------------------------------------------------------
modfuns.sgml : modfuns.tm $(HLP_FILES)
	$(TM2SGML) modfuns.tm modfuns.sgml
modfuns.html : modfuns.sgml
	$(SGML2HTML) modfuns.sgml
#----------------------------------------------------------------------------
clean:
	-rm -f *~ *.dvi *.log *.aux *.toc *.bak *.sgml
distclean: clean
	-rm -f *.html *.ps $(HLP_FILES)
install: install-help
install-help: $(HLP_FILES)
	-mv $(HLP_FILES) ../help
	@echo
	@echo To install the html files, use make install-html
	@echo
install-html: html
	-mv *.html ../../doc/html/
.PHONY: clean distclean install install-help install-html