Browse Source

dist rule

master 0.1
Mark Hills 9 years ago
parent
commit
cfd33222c6
  1. 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…
Cancel
Save