As long as the custom template directories are named
Open-ILS/src/templates_* then they'll automatically get installed via
"make install".
Signed-off-by: Dan Scott <dscott@laurentian.ca>
export WEBDIR=@localstatedir@/web
export CGIDIR=@localstatedir@/cgi-bin
export TEMPLATEDIR=@localstatedir@/templates
+export CUSTOM_TEMPLATES=@localstatedir@/.
export UPDATESDIR=@localstatedir@/updates
export datadir=@localstatedir@/data
$(MKDIR_P) $(DESTDIR)$(TEMPLATEDIR)
@echo "Installing templates to $(DESTDIR)$(TEMPLATEDIR)"
cp -r @srcdir@/templates/* $(DESTDIR)$(TEMPLATEDIR)
+ cp -r @srcdir@/templates_* $(DESTDIR)$(CUSTOM_TEMPLATES)
$(MKDIR_P) $(DESTDIR)$(datadir)/overdue/
sed -i 's|LOCALSTATEDIR|@localstatedir@|g' '$(DESTDIR)@sysconfdir@/oils_sip.xml.example'
sed -i 's|SYSCONFDIR|@sysconfdir@|g' '$(DESTDIR)@sysconfdir@/oils_sip.xml.example'