# $Id: Makefile,v 1.6.0.6 2004/12/01 21:36:17 izto Exp $
all:
	make -C installwatch-0.7.0beta4
	
install: all
	cp checkinstall makepak /usr/local/sbin
	make -C installwatch-0.7.0beta4 install
	mkdir -p /usr/local/lib/checkinstall/locale
	mkdir -p /usr/local/lib/checkinstall/locale/es/LC_MESSAGES
	cp locale/checkinstall-es.mo /usr/local/lib/checkinstall/locale/es/LC_MESSAGES/checkinstall.mo
	cp checkinstallrc-dist /usr/local/lib/checkinstall
	if ! [ -f /usr/local/lib/checkinstall/checkinstallrc ]; then cp /usr/local/lib/checkinstall/checkinstallrc-dist /usr/local/lib/checkinstall/checkinstallrc; else echo; echo -e "\n=============================================================================\n\nAn existing checkinstallrc file has been found.\nThe one from this distribution can be found at:\n\n\t/usr/local/lib/checkinstall/checkinstallrc-dist\n\n=============================================================================\n\n";echo ;fi
	
clean:
	make -C installwatch-0.7.0beta4 clean
