mirror of
https://github.com/pfusik/xasm.git
synced 2024-12-11 17:50:44 +00:00
DMD seems to no longer append ".exe".
This commit is contained in:
parent
30c96357bc
commit
138331193a
11
Makefile
11
Makefile
@ -3,12 +3,15 @@ VERSION = 3.2.0
|
||||
prefix = /usr/local
|
||||
bindir = $(prefix)/bin
|
||||
mandir = $(prefix)/share/man/man1
|
||||
ifeq ($(OS),Windows_NT)
|
||||
EXEEXT = .exe
|
||||
endif
|
||||
|
||||
SEVENZIP = 7z a -mx=9 -bd -bso0
|
||||
|
||||
all: xasm xasm.html
|
||||
all: xasm$(EXEEXT) xasm.html
|
||||
|
||||
xasm: source/app.d
|
||||
xasm$(EXEEXT): source/app.d
|
||||
dmd -of$@ -O -release $<
|
||||
|
||||
xasm.html: xasm.1.asciidoc
|
||||
@ -41,8 +44,8 @@ MANIFEST:
|
||||
../xasm-$(VERSION)-windows.zip: xasm xasm.html xasm.properties signed
|
||||
$(RM) $@ && $(SEVENZIP) -tzip $@ xasm.exe xasm.html xasm.properties
|
||||
|
||||
signed: xasm
|
||||
signtool sign -d "xasm $(VERSION)" -n "Open Source Developer, Piotr Fusik" -tr http://time.certum.pl -fd sha256 -td sha256 xasm.exe && touch $@
|
||||
signed: xasm$(EXEEXT)
|
||||
signtool sign -d "xasm $(VERSION)" -n "Open Source Developer, Piotr Fusik" -tr http://time.certum.pl -fd sha256 -td sha256 $< && touch $@
|
||||
|
||||
deb:
|
||||
debuild -b -us -uc
|
||||
|
Loading…
Reference in New Issue
Block a user