
xdms:	
	$(MAKE) -C src

clean:	
	$(MAKE) -C src clean
	rm xdms.1.gz

install:	xdms
	mkdir -p {PREFIX}/bin {PREFIX}/share/man/man1
	install src/xdms {PREFIX}/bin/
	install xdms.txt COPYING ChangeLog.txt {PREFIX}/share/doc/xdms/
	chmod og+rx {PREFIX}/bin {PREFIX}/bin/xdms
	gzip -9 < xdms.1 > xdms.1.gz
	install xdms.1.gz {PREFIX}/share/man/man1/
