Skip to content

Commit

Permalink
Fix packaging of SDCC binaries
Browse files Browse the repository at this point in the history
With the change in how aslink and sdar are installed [1], we broke
packaging of the nightly packages because of a missing DESTDIR override
when creating sdcc wrapper scripts.

[1] 278c884

Closes dciabrin/ngdevkit#105
  • Loading branch information
dciabrin committed Dec 10, 2023
1 parent 7d2d5ed commit a84188d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ install-ngsdcc: $(BUILD)/ngsdcc
(cd $(DESTDIR)$(prefix)/bin; \
for f in `find . -name 'z80-neogeo-ihx-*'`; do \
fbase=`echo $$f | cut -d- -f4`; \
mv $$f $(prefix)/z80-neogeo-ihx/bin/$$fbase; \
mv $$f $(DESTDIR)$(prefix)/z80-neogeo-ihx/bin/$$fbase; \
echo "#!/bin/sh" > $(DESTDIR)$(prefix)/bin/$$f; \
echo "PATH=$(prefix)/z80-neogeo-ihx/bin:\$$PATH" >> $(DESTDIR)$(prefix)/bin/$$f; \
echo "$(prefix)/z80-neogeo-ihx/bin/$$fbase \$$@" >> $(DESTDIR)$(prefix)/bin/$$f; \
Expand Down

0 comments on commit a84188d

Please sign in to comment.