Warning: this is an htmlized version!
The original is here, and
the conversion rules are here.
#!/usr/bin/make -f
# The `debian/rules' file for eev-puro.
# The upstream version is at:
#   http://angg.twu.net/eev-puro/rules.html
#           (find-angg "eev-puro/rules")
# The .deb is built and uploaded by:
#   (find-eevfile "eev-template.el" "eev-puro")
#   (find-dhmake-links "eev-puro" "eevpuro")
#
# See: (find-angg ".emacs" "eev-puro")
# Author:  Eduardo Ochs <eduardoochs@gmail.com>
# Version: 2012apr25
# Public domain.

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

CONVERTICON  = convert $(HOME)/eev-current/debian/eev.xpm
CONVERTICON2 = convert $(HOME)/eev-current/debian/eev.xpm -scale 200%
build-menu:
	mkdir -p                                 usr/share/menu/
	cp -v ~/eev-puro/menu/emacs-puro         usr/share/menu/
	mkdir -p                                 usr/share/applications/
	cp -v ~/eev-puro/menu/emacs-puro.desktop usr/share/applications/
	mkdir -p        usr/share/icons/hicolor/16x16/apps/
	$(CONVERTICON)  usr/share/icons/hicolor/16x16/apps/emacs-puro.png
	mkdir -p        usr/share/icons/hicolor/32x32/apps/
	$(CONVERTICON2) usr/share/icons/hicolor/32x32/apps/emacs-puro.png


# See: (find-eev "debian/rules")
#      (find-eev "debian/control")
#      (find-angg "eev-puro/")
#      (find-angg "eev-puro/")
build/eev-puro:: build-menu
	mkdir -p etc/emacs/site-start.d/
	mkdir -p usr/share/eev-puro/
	mkdir -p usr/share/doc/eev-puro/
	mkdir -p usr/bin/
	cp -v ~/eev-puro/90eev-puro.el     etc/emacs/site-start.d/
	cp -v ~/eev-puro/emacs-puro        usr/bin/
	#
	cp -v ~/eev-puro/.emacs            usr/share/eev-puro/
	cp -v ~/eev-puro/HELP              usr/share/eev-puro/
	cp -v ~/eev-puro/notas.txt         usr/share/eev-puro/
	cp -v ~/eev-puro/mini-lua-intro.e  usr/share/eev-puro/
	cp -v ~/LUA/lua50init.lua          usr/share/eev-puro/
	# cp -v ~/eev-current/eepitch.el     usr/share/eev-puro/
	# cp -v ~/eev-current/eepitch.readme usr/share/eev-puro/
	cp -v ~/dednat5/gab.lua         usr/share/eev-puro/
	cp -v ~/dednat5/gab-tests.lua   usr/share/eev-puro/
install/eev-puro::
	echo "debian/rules install/eev-puro: copy to $(DEB_DESTDIR)"
	cp -Rv etc/ usr/ debian/eev-puro/