mirror of
https://github.com/pfusik/xasm.git
synced 2024-12-22 00:29:15 +00:00
Adapt srcdist to new tools.
This commit is contained in:
parent
2f8e97499d
commit
420a83a897
6
Makefile
6
Makefile
@ -4,7 +4,7 @@ prefix = /usr/local
|
||||
bindir = $(prefix)/bin
|
||||
mandir = $(prefix)/share/man/man1
|
||||
|
||||
SEVENZIP = 7z a -mx=9 -bd
|
||||
SEVENZIP = 7z a -mx=9 -bd -bso0
|
||||
|
||||
all: xasm xasm.html
|
||||
|
||||
@ -33,10 +33,10 @@ uninstall-scite:
|
||||
dist: srcdist ../xasm-$(VERSION)-windows.zip
|
||||
|
||||
srcdist: MANIFEST
|
||||
$(RM) ../xasm-$(VERSION).tar.gz && tar -c --numeric-owner --owner=0 --group=0 --mode=644 -T MANIFEST --transform=s,,xasm-$(VERSION)/, | $(SEVENZIP) -tgzip -si ../xasm-$(VERSION).tar.gz
|
||||
$(RM) ../xasm-$(VERSION).tar.gz && /usr/bin/tar -c --numeric-owner --owner=0 --group=0 --mode=644 -T MANIFEST --transform=s,,xasm-$(VERSION)/, | $(SEVENZIP) -tgzip -si ../xasm-$(VERSION).tar.gz
|
||||
|
||||
MANIFEST:
|
||||
if test -e .git; then (git ls-files | grep -vF .gitignore && echo MANIFEST) | sort >$@ ; fi
|
||||
if test -e .git; then (git ls-files | grep -vF .gitignore && echo MANIFEST) | sort | dos2unix >$@ ; fi
|
||||
|
||||
../xasm-$(VERSION)-windows.zip: xasm xasm.html xasm.properties
|
||||
$(RM) $@ && $(SEVENZIP) -tzip $@ xasm.exe xasm.html xasm.properties
|
||||
|
Loading…
Reference in New Issue
Block a user