File: Makefile.in

package info (click to toggle)
zmailer 2.99.51.52pre3-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 16,596 kB
  • ctags: 7,422
  • sloc: ansic: 90,470; sh: 3,608; makefile: 2,784; perl: 1,585; python: 115; awk: 22
file content (42 lines) | stat: -rw-r--r-- 1,036 bytes parent folder | download | duplicates (3)
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
42
ZMOG=		zmog
ROFFMACROS=	ms
TEXI2ROFFDIR=	../../support/texi2roff

VPATH  = @srcdir@
srcdir = @srcdir@

all:
	@echo $(MAKE): specify troff or tex or plain

plain:	$(ZMOG)
	@echo zmog.doc is the plaintext version of zmog.tex

troff:	$(TEXI2ROFFDIR)/texi2roff
	$(TEXI2ROFFDIR)/texi2roff -$(ROFFMACROS) $(srcdir)/$(ZMOG).tex > $(ZMOG).$(ROFFMACROS)

tex:	$(ZMOG).dvi

$(ZMOG).dvi:	$(srcdir)/$(ZMOG).tex $(ZMOG).xrf

$(ZMOG).xrf:	$(ZMOG).aux
	if cmp -s $(ZMOG).aux $(ZMOG).xrf; \
	then : ; \
	else cp $(ZMOG).aux $(ZMOG).xrf ; \
		tex $(srcdir)/$(ZMOG).tex ; \
	fi

$(ZMOG).aux:	$(srcdir)/$(ZMOG).tex
	tex $(srcdir)/$(ZMOG).tex

$(ZMOG):	$(srcdir)/$(ZMOG).tex
	emacs -batch $(srcdir)/$(ZMOG).tex -f texinfo-format-buffer -f save-buffer

$(TEXI2ROFFDIR)/texi2roff:
	cd $(TEXI2ROFFDIR) && $(MAKE) $(MFLAGS)

clean:
	-cd $(TEXI2ROFFDIR) && $(MAKE) $(MFLAGS) MAKE=$(MAKE) clean
	-rm -f $(ZMOG).$(ROFFMACROS) $(TEXI2ROFFDIR)/texi2roff
	-rm -f *~ *.out *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc *.tp *.vr *.xrf
distclean: clean
	-rm -f Makefile