Mercurial > gemma
diff Makefile @ 537:942a865986f6
Added simple build target for deployment tar.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Wed, 29 Aug 2018 16:12:20 +0200 |
parents | 20d2edbc863d |
children | 9b67c4f5a7b2 |
line wrap: on
line diff
--- a/Makefile Wed Aug 29 11:22:04 2018 +0200 +++ b/Makefile Wed Aug 29 16:12:20 2018 +0200 @@ -46,6 +46,12 @@ install: gemma cp cmd/gemma/gemma $(BINDIR) +tar: all + v="gemma-$$(hg id -i)" ;\ + tar --transform "s@^@$${v}/@" \ + -cJf "../$${v}.tar.xz" \ + cmd/gemma/gemma schema web + clean: $(MAKE) -f Makefile.build -C client $@ rm -f "$(gemma-bin)"