]> git.proxmox.com Git - proxmox-backup.git/blobdiff - templates/Makefile
buildsys: install templates for test notifications
[proxmox-backup.git] / templates / Makefile
diff --git a/templates/Makefile b/templates/Makefile
new file mode 100644 (file)
index 0000000..b35a8bb
--- /dev/null
@@ -0,0 +1,15 @@
+include ../defines.mk
+
+NOTIFICATION_TEMPLATES=                                        \
+       default/test-body.txt.hbs                       \
+       default/test-body.html.hbs                      \
+       default/test-subject.txt.hbs            \
+
+all:
+
+clean:
+
+install:
+       install -dm755 $(DESTDIR)$(DATAROOTDIR)/proxmox-backup/templates/default
+       $(foreach i,$(NOTIFICATION_TEMPLATES), \
+           install -m644 $(i) $(DESTDIR)$(DATAROOTDIR)/proxmox-backup/templates/$(i) ;)