mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
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 <hpa@zytor.com>
This commit is contained in:
parent
ff78ddc6af
commit
0553c6f306
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user