File: Makefile

package info (click to toggle)
lprng-doc 3.5.2-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 7,560 kB
  • ctags: 367
  • sloc: makefile: 139; perl: 62
file content (26 lines) | stat: -rw-r--r-- 517 bytes parent folder | download | duplicates (2)
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
# Typesetting commands
# pic | tbl | eqn | troff | d2ps or d2dumb
#

INSTALL_DIR= ..

DOC= Intro.txt Intro.ps
all: $(DOC)

Intro.ps: Intro.nroff 
	groff -p -Tps >$@ Intro.nroff
	#typeset -p -Tps -O$@ Intro.nroff
Intro.txt: Intro.nroff 
	groff -rt1 -p -Tascii Intro.nroff |striph >$@
	#typeset -rt1 -p Intro.nroff |striph >$@

ci:
	for i in * ; do \
		if [ -f $$i ] ; then ci $(CI) -l -mUpdate -t-Initial $$i; fi; \
	done;

realclean mostlyclean distclean clean:
	-rm -f $(DOC)

install: all
	mv $(DOC) $(INSTALL_DIR)