
all: base-all packages-all idiot

root:
	./bin/mkpkgs base root
root_22: merge_22	
	./bin/mkpkgs base root_22
etc:
	./bin/mkpkgs base etc
log:
	./bin/mkpkgs base log
	
merge_22:
	./bin/mkmerged base/root_22 base/root base/root_22.template	

base-all: merge_22
	./bin/mkpkgs base all
	
packages-all:
	./bin/mkpkgs packages all

addon-pack:
	
	Fix me sucka!
idiot:
	./bin/mkidiot	

srcsnap:
	bin/mksrcsnap

devsnap:
	bin/mkdevsnap

ftp-unstable-all: ftp-unstable-base ftp-unstable-pack ftp-unstable-idiot

ftp-unstable-base: 
	scp ./base/*.lrp schizo:/home/ftp/linux/linux-router/dists/unstable/base/

ftp-unstable-pack:
	scp ./packages/*.lrp schizo:/home/ftp/linux/linux-router/dists/unstable/packages/

ftp-unstable-idiot:
	scp idiot-image* schizo:/home/ftp/linux/linux-router/dists/unstable/
	
clean:
	-rm ./base/*.lrp
	-rm ./packages/*.lrp
	-rm -R ./base/root_22/*

distclean: clean
	-rm idiot-image_*
