view database/Makefile @ 49:4b7f0ee35994

Use != in python and <> in sql.
author David A. Holland
date Sat, 02 Apr 2022 18:10:30 -0400
parents b296ea10b8f5
children
line wrap: on
line source

TOP=..
include $(TOP)/mk/base.mk

all depend clean distclean: ;

INSTDIR=$(DESTDIR)$(PREFIX)/share/swallowtail/sql

install:
	[ -d $(INSTDIR) ] || mkdir -p $(INSTDIR)
	[ -d $(INSTDIR)/init ] || mkdir -p $(INSTDIR)/init
	[ -d $(INSTDIR)/schema ] || mkdir -p $(INSTDIR)/schema
	$(INSTALL) -c -m644 *.sql $(INSTDIR)/
	$(INSTALL) -c -m644 init/*.sql $(INSTDIR)/init/
	$(INSTALL) -c -m644 schema/*.sql $(INSTDIR)/schema/