Skip to content

Commit 009eb93

Browse files
author
Dinar Valeev
committed
add dist target to make
Signed-off-by: Dinar Valeev <dvaleev@suse.com>
1 parent 73bfd2e commit 009eb93

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export LC_COLLATE=POSIX
66

77
include Config
88

9-
VERSION = unset
9+
VERSION = 22.8
1010
# Debug mode (spam/verbose)
1111
DEBUG = 0
1212
# make install vars
@@ -253,6 +253,10 @@ clean:
253253
find . -not -path './\{arch\}*' -name ',,*' | xargs rm -rf
254254
find man -name '*.gz' | xargs -r gunzip
255255
rm -rf man.deb
256+
dist:
257+
mkdir -p ../yaboot-${VERSION}
258+
rsync -r --exclude=.git ./ ../yaboot-${VERSION}
259+
tar -cjf 'yaboot-${VERSION}.tar.bz2' ../yaboot-${VERSION}
256260

257261
cleandocs:
258262
make -C doc clean

0 commit comments

Comments
 (0)