# Makefile to patch/install Wingz

all:
	sed 's:@WINGZ_DIR@:${PREFIX}/lib/X11/:' Wingz/bin/Wingz.sh >Wingz.sh
	chmod +x Wingz.sh

install:
	pax -w Wingz |(cd ${PREFIX}/lib/X11; pax -r)
	cp Wingz.sh ${PREFIX}/bin/Wingz
	cp Wingz/Wingz.Xdefs ${PREFIX}/lib/X11/app-defaults/Wingz
	install -m 644 /dev/null ${PREFIX}/lib/X11/Wingz/.wingz




syntax highlighted by Code2HTML, v. 0.9.1