Mercurial > ~dholland > hg > swallowtail > index.cgi
comparison database/Makefile @ 26:b296ea10b8f5
install the sql in $PREFIX/share
author | David A. Holland |
---|---|
date | Sun, 26 May 2013 22:04:04 -0400 |
parents | 5f36d8d69aba |
children |
comparison
equal
deleted
inserted
replaced
25:813a27f32072 | 26:b296ea10b8f5 |
---|---|
1 TOP=.. | 1 TOP=.. |
2 include $(TOP)/mk/base.mk | 2 include $(TOP)/mk/base.mk |
3 | 3 |
4 all depend install clean distclean: ; | 4 all depend clean distclean: ; |
5 | |
6 INSTDIR=$(DESTDIR)$(PREFIX)/share/swallowtail/sql | |
7 | |
8 install: | |
9 [ -d $(INSTDIR) ] || mkdir -p $(INSTDIR) | |
10 [ -d $(INSTDIR)/init ] || mkdir -p $(INSTDIR)/init | |
11 [ -d $(INSTDIR)/schema ] || mkdir -p $(INSTDIR)/schema | |
12 $(INSTALL) -c -m644 *.sql $(INSTDIR)/ | |
13 $(INSTALL) -c -m644 init/*.sql $(INSTDIR)/init/ | |
14 $(INSTALL) -c -m644 schema/*.sql $(INSTDIR)/schema/ |