Skip to content

Commit

Permalink
Архивировать шаблоны с помощью make.
Browse files Browse the repository at this point in the history
  • Loading branch information
baranovskiykonstantin committed Dec 26, 2020
1 parent 3fa776c commit 7f7931e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
OUT := ~/.config/libreoffice/4/user/template
VERSION := 1.4

.PHONY: index spec bom gspec gbom manual mexanic
.PHONY: index spec bom gspec gbom manual mexanic archive

default: all

Expand Down Expand Up @@ -34,3 +35,14 @@ manual:

mexanic:
$(call build_ott,mexanic,Ведомость\ покупных\ изделий\ \(Mexanic\))

archive:
cd $(OUT) && \
7z a -- /tmp/eskd-templates_v$(VERSION).7z \
Перечень\ элементов.ott \
Спецификация.ott \
Ведомость\ покупных\ изделий.ott \
Групповая\ спецификация.ott \
Групповая\ ведомость\ покупных\ изделий.ott \
Пояснительная\ записка.ott \
Ведомость\ покупных\ изделий\ \(Mexanic\).ott

0 comments on commit 7f7931e

Please sign in to comment.