PACKAGE = openoffice-templates-lt
VERSION = 0.3

TEMPLATE_DIR = "$(DESTDIR)/usr/lib/openoffice/share/template/lt"
#TEMPLATE_DIR = "$(DESTDIR)/usr/lib/openoffice2/share/template/lithuanian"
TEMPLATES = `ls lithuanian`

build:

install:
	mkdir -p "$(TEMPLATE_DIR)"
	for TEMPLATE in $(TEMPLATES) ; do \
	    mkdir -p "$(TEMPLATE_DIR)/$${TEMPLATE}" ; \
	    install -m644 "lithuanian/$${TEMPLATE}"/*.* "$(TEMPLATE_DIR)/$${TEMPLATE}" ; \
	done
