Use NetHack's util/uudecode instead of system uudecode
This commit is contained in:
@@ -304,7 +304,12 @@ fetch-regex:
|
|||||||
fi
|
fi
|
||||||
amitiles: $(AMITILES)
|
amitiles: $(AMITILES)
|
||||||
|
|
||||||
amigapkg: $(AMITILES)
|
UUDECODE = ../util/uudecode
|
||||||
|
|
||||||
|
../util/uudecode: ../sys/share/uudecode.c
|
||||||
|
$(CC) $(CFLAGS) -o $@ $<
|
||||||
|
|
||||||
|
amigapkg: $(AMITILES) ../util/uudecode
|
||||||
mkdir -p $(TARGETPFX)pkg/tiles $(TARGETPFX)pkg/hack
|
mkdir -p $(TARGETPFX)pkg/tiles $(TARGETPFX)pkg/hack
|
||||||
cp $(GAMEBIN) $(TARGETPFX)pkg/nethack
|
cp $(GAMEBIN) $(TARGETPFX)pkg/nethack
|
||||||
cp ../dat/nhdat $(TARGETPFX)pkg/nhdat
|
cp ../dat/nhdat $(TARGETPFX)pkg/nhdat
|
||||||
@@ -315,17 +320,17 @@ amigapkg: $(AMITILES)
|
|||||||
cp $(TARGETPFX)tomb.iff $(TARGETPFX)pkg/tomb.iff
|
cp $(TARGETPFX)tomb.iff $(TARGETPFX)pkg/tomb.iff
|
||||||
cp ../sys/msdos/sysconf $(TARGETPFX)pkg/sysconf
|
cp ../sys/msdos/sysconf $(TARGETPFX)pkg/sysconf
|
||||||
cp ../doc/nethack.txt $(TARGETPFX)pkg/nethack.txt
|
cp ../doc/nethack.txt $(TARGETPFX)pkg/nethack.txt
|
||||||
( cd $(TARGETPFX)pkg && uudecode ../../../sys/amiga/amifont8.uu && mv 8 hack/8 )
|
( cd $(TARGETPFX)pkg && ../../../util/uudecode ../../../sys/amiga/amifont8.uu && mv 8 hack/8 )
|
||||||
( cd $(TARGETPFX)pkg && uudecode ../../../sys/amiga/amifont.uu )
|
( cd $(TARGETPFX)pkg && ../../../util/uudecode ../../../sys/amiga/amifont.uu )
|
||||||
cp $(AMISRC)/nethack.cnf $(TARGETPFX)pkg/nethack.cnf
|
cp $(AMISRC)/nethack.cnf $(TARGETPFX)pkg/nethack.cnf
|
||||||
-( cd $(TARGETPFX)pkg && test -f ../../../sys/amiga/dflticon.uu && \
|
-( cd $(TARGETPFX)pkg && test -f ../../../sys/amiga/dflticon.uu && \
|
||||||
uudecode ../../../sys/amiga/dflticon.uu )
|
../../../util/uudecode ../../../sys/amiga/dflticon.uu )
|
||||||
-( cd $(TARGETPFX)pkg && test -f ../../../sys/amiga/NHinfo.uu && \
|
-( cd $(TARGETPFX)pkg && test -f ../../../sys/amiga/NHinfo.uu && \
|
||||||
uudecode ../../../sys/amiga/NHinfo.uu )
|
../../../util/uudecode ../../../sys/amiga/NHinfo.uu )
|
||||||
-( cd $(TARGETPFX)pkg && test -f ../../../sys/amiga/NewGame.uu && \
|
-( cd $(TARGETPFX)pkg && test -f ../../../sys/amiga/NewGame.uu && \
|
||||||
uudecode ../../../sys/amiga/NewGame.uu )
|
../../../util/uudecode ../../../sys/amiga/NewGame.uu )
|
||||||
-( cd $(TARGETPFX)pkg && test -f ../../../sys/amiga/HackWB.uu && \
|
-( cd $(TARGETPFX)pkg && test -f ../../../sys/amiga/HackWB.uu && \
|
||||||
uudecode ../../../sys/amiga/HackWB.uu )
|
../../../util/uudecode ../../../sys/amiga/HackWB.uu )
|
||||||
touch $(TARGETPFX)pkg/record
|
touch $(TARGETPFX)pkg/record
|
||||||
( cd $(TARGETPFX)pkg && zip -9r ../NH370AMI.ZIP * )
|
( cd $(TARGETPFX)pkg && zip -9r ../NH370AMI.ZIP * )
|
||||||
@echo amiga package zip file $(TARGETPFX)NH370AMI.ZIP
|
@echo amiga package zip file $(TARGETPFX)NH370AMI.ZIP
|
||||||
|
|||||||
Reference in New Issue
Block a user