File: Makefile

package info (click to toggle)
latex2html 2021-debian1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,796 kB
  • sloc: perl: 33,871; makefile: 437; sh: 22
file content (31 lines) | stat: -rw-r--r-- 638 bytes parent folder | download | duplicates (4)
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
#
# $Id: Makefile,v 1.1 1996/12/21 19:56:25 JCL Exp $
#

# set TEXINPUTS to use the hthtml.sty included in this package
LATEX = TEXINPUTS=../../texinputs:: latex
DVIPDF = dvipdf

all: hthtml.pdf hthtml/hthtml.html

hthtml.pdf:      hthtml.dvi
	$(DVIPDF) $< $@

hthtml.dvi: hthtml.tex
	$(LATEX) $<
	@while grep 'Rerun to get cross-references right' $*.log; \
	do $(LATEX) $<; \
	done

hthtml/hthtml.html: hthtml.tex hthtml.dvi
	latex2html -split 0 $<

clean:
	rm -f *.log *.aux *.dvi *.toc *.pdf *~
	rm -rf hthtml

dist: clean all
	gtar cvzf hthtml/hthtml.tar.gz \
	 Makefile README hthtml.sty hthtml.tex hthtml.perl
	rdist -p bin/rdistd