Warning: this is an htmlized version!
The original is across this link,
and the conversion rules are here.
#!/usr/bin/make -f
# This file:
#   http://angg.twu.net/eev/debian/rules.html
#   http://angg.twu.net/eev/debian/rules
#           (find-angg "eev/debian/rules")
# Version: 2012may09
# Authur: Eduardo Ochs <eduardoochs@gmail.com>
# Public domain 


include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk

DOCHTML    = usr/share/doc/dednat4/html
DOCIMAGES  = usr/share/doc/dednat4/html/IMAGES
ORIGHTML   = $(HOME)/TH/L
ORIGIMAGES = $(HOME)/IMAGES

# Add here any variable or target overrides you need.
build/dednat4::
	mkdir -p $(DOCHTML)
	mkdir -p $(DOCIMAGES)
	mkdir -p etc/emacs/site-start.d/
	mkdir -p usr/bin/
	cp -v ~/dednat4/dednat4               usr/bin/
	cp -v $(ORIGHTML)/dednat4.html        $(DOCHTML)/
	cp -v $(ORIGIMAGES)/Atimes-dnt.png    $(DOCIMAGES)/
	cp -v $(ORIGIMAGES)/Atimes.png        $(DOCIMAGES)/
	cp -v $(ORIGIMAGES)/TfromFtoG.png     $(DOCIMAGES)/
	cp -v $(ORIGIMAGES)/TfromFtoG.png     $(DOCIMAGES)/
	cp -v $(ORIGIMAGES)/downcasing_Ax.png $(DOCIMAGES)/
	cp -v $(ORIGIMAGES)/eqfib-trans.png   $(DOCIMAGES)/
	cp -v $(ORIGIMAGES)/lccc-bcc.png      $(DOCIMAGES)/
	cp -v $(ORIGIMAGES)/lccc-bcc.png      $(DOCIMAGES)/
	cp -v $(ORIGIMAGES)/lccc-frob.png     $(DOCIMAGES)/
	cp -v $(ORIGIMAGES)/lccc-frob.png     $(DOCIMAGES)/
	cp -v $(ORIGIMAGES)/preslim.png       $(DOCIMAGES)/
	cp -v ~/dednat4/dednat4.el            etc/emacs/site-start.d/
install/dednat4::
	echo "debian/rules install/dednat4: copy to $(DEB_DESTDIR)"
	cp -Rv usr etc debian/dednat4/

# (find-angg "eev-puro/debian/rules")

# (find-dhmake-links "dednat4" "dednat4")
# (find-dednat4file "odb")
# (find-dednat4file "debian/dednat4/")
# (find-anggfile "usrc/dednat4/dednat4-0.1.20120406/odb")
# (find-node "(coreutils)cp invocation")
# (find-node "(coreutils)Target directory")


# Missing:
#   (find-angg "dednat4/dednat4-icon.png")
# And all of dednat5:
#   (find-dn5 "Makefile")
#   (find-dn5 "")

# Notes on dependencies:
# (find-dn4 "downloads/Makefile")
# (find-zsh "dmissing texlive | grep xypic")
# (find-zsh "dmissing texlive | grep diagxy")
# (find-zsh "dmissing texlive | grep proof")

# (find-dn5 "")
# (find-dn5 "begriff.lua")
# (find-dn5 "tests/")
# (find-zsh "dmissing texlive | grep begr")
# (find-zsh "dmissing texlive | grep mpost")
# (find-zsh "dmissing texlive | grep tikz")