Skip to content

Commit b137b09

Browse files
committed
add target for creating orig-tarball
1 parent d29dc44 commit b137b09

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11

2+
VERSION = 0.0.1a
3+
24
SOFILE = libdbus2vdr.so
35

46
CC ?= gcc
@@ -39,3 +41,6 @@ install: install-includes install-lib
3941
clean:
4042
@-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~
4143

44+
orig:
45+
if [ -d .git ]; then git archive --format=tar.gz --prefix=libdbus2vdr-$(VERSION)/ -o ../libdbus2vdr_$(VERSION).orig.tar.gz master; fi
46+

0 commit comments

Comments
 (0)