summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2011-03-24 08:05:08 +0000
committerTed Trask <ttrask01@yahoo.com>2011-03-24 08:05:08 +0000
commit8fdc4215690791d65377973b84d02dc44917a7ff (patch)
treef0b4aee8834281f97f384327b710efaa3206de2d /Makefile
parentff0eb2690717511e89e59b406fab6fa2159a22a4 (diff)
downloadacf-provisioning-8fdc4215690791d65377973b84d02dc44917a7ff.tar.bz2
acf-provisioning-8fdc4215690791d65377973b84d02dc44917a7ff.tar.xz
Added in first two templates for Polycom and Linksys ATA
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3f4d1fc..4756a68 100644
--- a/Makefile
+++ b/Makefile
@@ -5,15 +5,18 @@ VERSION=0.0.5
APP_DIST=\
provisioning* \
+TEMPLATE_DIST = templates/*
+
EXTRA_DIST=README Makefile config.mk
-DISTFILES=$(APP_DIST) $(EXTRA_DIST)
+DISTFILES=$(APP_DIST) $(EXTRA_DIST) $(TEMPLATE_DIST)
TAR=tar
P=$(PACKAGE)-$(VERSION)
tarball=$(P).tar.bz2
install_dir=$(DESTDIR)/$(appdir)/$(APP_NAME)
+template_dir=$(DESTDIR)/etc/provisioning/templates
all:
clean:
@@ -24,6 +27,8 @@ dist: $(tarball)
install:
mkdir -p "$(install_dir)"
cp -a $(APP_DIST) "$(install_dir)"
+ mkdir -p "$(template_dir)"
+ cp -a $(TEMPLATE_DIST) "$(template_dir)"
$(tarball): $(DISTFILES)
rm -rf $(P)