From: cuz Date: Sun, 28 Dec 2003 21:48:22 +0000 (+0000) Subject: New mouse subdirectories X-Git-Tag: V2.12.0~965 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2c622ca09931949c944fc9e99adac2bf51c86046;p=cc65 New mouse subdirectories git-svn-id: svn://svn.cc65.org/cc65/trunk@2853 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/make/gcc.mak b/make/gcc.mak index 29efc04ce..aa4104f4f 100644 --- a/make/gcc.mak +++ b/make/gcc.mak @@ -47,13 +47,13 @@ zap: .PHONY: install install: all - @if [ `id -u` != 0 ]; then \ + @if [ `id -u` != 0 ]; then \ echo ""; \ - echo 'Do "make install" as root'; \ + echo 'Do "make install" as root'; \ echo ""; \ false; \ fi - @$(MKDIR) -p $(BINDIR) $(CC65DOC) $(CC65LIB)/{asminc,emd,include/{em,geos,joystick,sys,tgi},joy,lib,ser,tgi} + @$(MKDIR) -p $(BINDIR) $(CC65DOC) $(CC65LIB)/{asminc,emd,include/{em,geos,joystick,mouse,sys,tgi},joy,lib,mou,ser,tgi} @$(INSTALL) -s -m 755 src/ar65/ar65 $(BINDIR) @$(INSTALL) -s -m 755 src/ca65/ca65 $(BINDIR) @$(INSTALL) -m 755 src/ca65html/ca65html $(BINDIR) @@ -69,6 +69,7 @@ install: all @$(INSTALL) -m 644 include/geos/*.h $(CC65INC)/geos @$(INSTALL) -m 644 include/em/*.h $(CC65INC)/em @$(INSTALL) -m 644 include/joystick/*.h $(CC65INC)/joystick + @$(INSTALL) -m 644 include/mouse/*.h $(CC65INC)/mouse @$(INSTALL) -m 644 include/sys/*.h $(CC65INC)/sys @$(INSTALL) -m 644 include/tgi/*.h $(CC65INC)/tgi @$(INSTALL) -m 644 asminc/*.inc $(CC65DATA)/asminc diff --git a/packages/rpm/redhat/cc65.spec b/packages/rpm/redhat/cc65.spec index 8b091fe48..89d6ab860 100644 --- a/packages/rpm/redhat/cc65.spec +++ b/packages/rpm/redhat/cc65.spec @@ -425,7 +425,7 @@ make -C doc html %install -mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib/cc65/{asminc,emd,include/{em,geos,joystick,sys,tgi},joy,lib,ser,tgi}} +mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib/cc65/{asminc,emd,include/{em,geos,joystick,mouse,sys,tgi},joy,lib,mou,ser,tgi}} # Binaries install -s -m 755 src/ar65/ar65 $RPM_BUILD_ROOT/usr/bin @@ -444,6 +444,7 @@ install -m 644 include/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include install -m 644 include/geos/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/geos install -m 644 include/em/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/em install -m 644 include/joystick/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/joystick +install -m 644 include/mouse/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/mouse install -m 644 include/sys/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/sys install -m 644 include/tgi/*.h $RPM_BUILD_ROOT/usr/lib/cc65/include/tgi install -m 644 asminc/*.inc $RPM_BUILD_ROOT/usr/lib/cc65/asminc