aurweb/schema/Makefile
nodivbyzero bcd795c339 schema/Makefile: Replace MySQL with SQLite in comment
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2018-03-14 17:19:53 +01:00

12 lines
281 B
Makefile

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 /' \
-e 's/ MySQL / SQLite /' \
$< >$@
clean:
rm -rf aur-schema-sqlite.sql
.PHONY: clean