Mercurial > gemma
comparison 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 |
comparison
equal
deleted
inserted
replaced
536:d9dbb6139760 | 537:942a865986f6 |
---|---|
44 $(MAKE) -f Makefile.build -C client | 44 $(MAKE) -f Makefile.build -C client |
45 | 45 |
46 install: gemma | 46 install: gemma |
47 cp cmd/gemma/gemma $(BINDIR) | 47 cp cmd/gemma/gemma $(BINDIR) |
48 | 48 |
49 tar: all | |
50 v="gemma-$$(hg id -i)" ;\ | |
51 tar --transform "s@^@$${v}/@" \ | |
52 -cJf "../$${v}.tar.xz" \ | |
53 cmd/gemma/gemma schema web | |
54 | |
49 clean: | 55 clean: |
50 $(MAKE) -f Makefile.build -C client $@ | 56 $(MAKE) -f Makefile.build -C client $@ |
51 rm -f "$(gemma-bin)" | 57 rm -f "$(gemma-bin)" |
52 rm -rf "$(BUILDBASE)" | 58 rm -rf "$(BUILDBASE)" |