Revision 97 (by dpavlin, 2008/04/30 21:26:14) download schema from OpenLDAP, not ldif since Net::LDAP::Schema has problems with upstream ldif
update: schema2ldif-hreduorg schema2ldif-hreduperson openldap
	rm -f all.ldif
	cat *.ldif > all.ldif

openldap: fetch-core schema2ldif-core fetch-inetorgperson schema2ldif-inetorgperson

fetch-%:
	test -f $*.schema || wget -nc http://www.openldap.org/devel/cvsweb.cgi/~checkout~/servers/slapd/schema/$*.schema

schema2ldif-%:
	./ol-schema-migrate.pl -b $*.schema > $*.ldif

clean:
	rm -f *.ldif