mirror of
http://www.pogo.org.uk/~mark/trx.git
synced 2024-11-23 19:05:06 +01:00
dist rule
This commit is contained in:
parent
51419766a5
commit
cfd33222c6
8
Makefile
8
Makefile
@ -15,7 +15,7 @@ LDLIBS_ORTP ?= -lortp
|
||||
|
||||
LDLIBS += $(LDLIBS_ASOUND) $(LDLIBS_OPUS) $(LDLIBS_ORTP)
|
||||
|
||||
.PHONY: all install clean
|
||||
.PHONY: all install dist clean
|
||||
|
||||
all: rx tx
|
||||
|
||||
@ -27,6 +27,12 @@ install: rx tx
|
||||
$(INSTALL) -d $(DESTDIR)$(BINDIR)
|
||||
$(INSTALL) rx tx $(DESTDIR)$(BINDIR)
|
||||
|
||||
dist:
|
||||
mkdir -p dist
|
||||
V=$$(git describe) && \
|
||||
git archive --prefix="trx-$$V/" HEAD | \
|
||||
gzip > "dist/trx-$$V.tar.gz"
|
||||
|
||||
clean:
|
||||
rm -f *.o *.d tx rx
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user