Skip to content

Commit 0553c6f

Browse files
author
H. Peter Anvin
committed
Makefile: fix "make dist" and "make tar"
These aren't used to actually make a distribution, but they are useful for testing. Signed-off-by: H. Peter Anvin <[email protected]>
1 parent ff78ddc commit 0553c6f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Makefile.in

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -462,15 +462,14 @@ everything: always_everything
462462
install_everything: everything install install_doc
463463

464464
dist:
465-
$(MAKE) distclean
466465
$(MAKE) alldeps
467466
$(MAKE) perlreq manpages spec $(MANPAGES)
467+
$(MAKE) distclean
468468
./autogen.sh
469469

470470
tar: dist
471-
tar -cv --exclude CVS -C .. -f - | \
472-
$(XZ) -9e > \
473-
../nasm-`cat version`-`date +%Y%m%d`.tar.xz `basename \`pwd\``
471+
tar -cv --exclude CVS --exclude .git -C .. -f - `basename \`pwd\`` | \
472+
$(XZ) -9e > ../nasm-`cat version`-`date +%Y%m%d`.tar.xz
474473

475474
spec: nasm.spec
476475

0 commit comments

Comments
 (0)