Makefile 281 Bytes
Newer Older
1
2
3
4
5
aur-schema-sqlite.sql: aur-schema.sql
	sed \
		-e 's/ ENGINE = InnoDB//' \
		-e 's/ [A-Z]* UNSIGNED NOT NULL AUTO_INCREMENT/ INTEGER NOT NULL/' \
		-e 's/([0-9, ]*) UNSIGNED / UNSIGNED /' \
6
		-e 's/ MySQL / SQLite /' \
7
8
9
10
11
12
		$< >$@

clean:
	rm -rf aur-schema-sqlite.sql

.PHONY: clean