shithub: fqa.9front.org

ref: e0311f7337e8c79c3d1106d81af1ec913d0a27aa

View raw version
RELEASE=survivalevasionandescape

%.html:	%.ms
	htmlroff -u -ms -mhtml $stem.ms >$target
	fixhtml $target

%.pdf:	%.ps
	lp -dstdout $stem.ps | ps2pdf >$target

%.ps:	%.png
	lp -dstdout -ppngpost $stem.png >$target

%.ps:	%.gif
	lp -dstdout -pgifpost $stem.gif >$target

%.ps:	%.jpg
	lp -dstdout -pjpgpost $stem.jpg >$target

%.ps:	%.ms
	troff -ms -mpictures $stem.ms >$target

appendixb.ps:	catgunsmoney.ps moneystacks.ps rubberbandmoney.ps

appendixg.ps:	gsoc_patch.ps

appendixj.ps:	pie-in-face.ps

appendixl.ps:	cosbyplusplus.ps csharp.ps golang.ps haskell.ps perl.ps php.ps python.ps rails.ps yes.ps

appendixt.ps:	picarddesk1.ps picarddesk2.ps

appendixz.ps:	lost.ps

book:V:	ps
	troff -ms -mpictures title.ms bp.ms indicia.ms bp.ms disclaimer.ms bp.ms numbering.ms bp.ms fqa.ms bp.ms fqa0.ms bp.ms fqa1.ms bp.ms fqa2.ms bp.ms fqa3.ms bp.ms fqa4.ms bp.ms fqa5.ms bp.ms fqa6.ms bp.ms fqa7.ms bp.ms fqa8.ms bp.ms fqa9.ms bp.ms appendixb.ms appendixg.ms appendixj.ms bp.ms appendixl.ms bp.ms appendixt.ms bp.ms appendixz.ms bp.ms notes.ms | lp -dstdout | ps2pdf >book.pdf
	chmod +t *front.pdf *back.pdf book.pdf

dash1:V:
	gs -q -dNOPAUSE -dBATCH -sDEVICE'='pdfwrite -sOutputFile'='dash1.$RELEASE.pdf $RELEASE.front.pdf book.pdf $RELEASE.back.pdf
	chmod +t dash1.$RELEASE.pdf

fqa.ps:	9frontsystem.ps goaway.ps toilet.ps

fqa0.ps:	belllabs.ps books.ps csrc.ps fork.ps inferno.ps intellectualproperty.ps itsbeyondmycontrol.ps plan9team1995.ps notunix.ps suncart.ps

fqa1.ps:	9frontsystem.ps cirno.ps grumpycatno.ps ibmintel.ps meganinefront.ps pipe.ps reactorcat.ps tuttleglenda.ps wreckastow.ps

fqa2.ps:	9fans.ps data.ps carson.ps crash.ps voightkampff.ps

fqa3.ps:	380d.ps 1391401.ps 2001thinkpad01.ps 2001thinkpad02.ps chicklet.ps desktops.ps glitch.ps hardware.ps mnt_reform_usb_keyboard.ps n700.ps rugged.ps scrollpoint.ps sk-8835.ps soundblaster.ps t420s.ps t431s.ps texshinobi.ps vbox.4.2.6.ps virtualbox.ps x1t.ps x131e.ps x230.ps x230t.ps x250.ps x250-20cm-cto1ww.ps x301.ps x60t.ps x61t.ps

fqa4.ps:	bar.ps cinapcatdrawing.ps cryptsetup.ps install.ps livecdrio.ps

fqa5.ps:	thesource.ps nosnackcar.ps

fqa6.ps:	networking.ps

fqa7.ps:	9mlmgr.ps openssl1.ps openssl2.ps orgchart.ps plan9network.ps upas.ps

fqa8.ps:	acpi.ps betweenthelines.ps c64.ps cyclogram.ps danflavin.ps embraceextendextinguish.ps ibmpc.ps internet.ps iosprompt2openbsdtmuxdrawterm9front.ps linuxburden.ps mouse.ps mouse2.ps netsurf.ps nintendo.ps openbsdvmweb.ps rio-bell-labs.ps rio-custom.ps sega.ps using9front.ps vmxmulticat.ps vmxntpaint.ps what.ps wwwhat.ps

fqa9.ps:	giveup1.ps giveup2.ps methods.ps sweat.ps yesno.ps

html:V:	fqa.html fqa0.html fqa1.html fqa2.html fqa3.html fqa4.html fqa5.html fqa6.html fqa7.html fqa8.html fqa9.html appendixb.html appendixg.html appendixj.html appendixl.html appendixt.html appendixz.html
	cp fqa.html index.html

pdf:V:	fqa.pdf fqa0.pdf fqa1.pdf fqa2.pdf fqa3.pdf fqa4.pdf fqa5.pdf fqa6.pdf fqa7.pdf fqa8.pdf fqa9.pdf appendixb.pdf appendixg.pdf appendixj.pdf appendixl.pdf appendixt.pdf appendixz.pdf

ps:V:	fqa.ps fqa0.ps fqa1.ps fqa2.ps fqa3.ps fqa4.ps fqa5.ps fqa6.ps fqa7.ps fqa8.ps fqa9.ps appendixb.ps appendixg.ps appendixj.ps appendixl.ps appendixt.ps appendixz.ps

all:V:	html ps pdf

clean:
	rm -f fqa*.html fqa*.pdf *.ps appendix*.html appendix*.pdf appendix*.ps