From 0553c6f30601d3db636fa368fc0525a05332e42e Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 12 Apr 2024 14:21:51 -0700 Subject: [PATCH] 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 --- Makefile.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index 85af2ece..ff584251 100644 --- a/Makefile.in +++ b/Makefile.in @@ -462,15 +462,14 @@ everything: always_everything install_everything: everything install install_doc dist: - $(MAKE) distclean $(MAKE) alldeps $(MAKE) perlreq manpages spec $(MANPAGES) + $(MAKE) distclean ./autogen.sh tar: dist - tar -cv --exclude CVS -C .. -f - | \ - $(XZ) -9e > \ - ../nasm-`cat version`-`date +%Y%m%d`.tar.xz `basename \`pwd\`` + tar -cv --exclude CVS --exclude .git -C .. -f - `basename \`pwd\`` | \ + $(XZ) -9e > ../nasm-`cat version`-`date +%Y%m%d`.tar.xz spec: nasm.spec