]> git.sur5r.net Git - cc65/commitdiff
New mouse subdirectories
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 28 Dec 2003 21:48:22 +0000 (21:48 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 28 Dec 2003 21:48:22 +0000 (21:48 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2853 b7a2c559-68d2-44c3-8de9-860c34a00d81

make/gcc.mak
packages/rpm/redhat/cc65.spec

index 29efc04ce249d1b3f82a3da14655ad14ef1b1197..aa4104f4f80a32a1672aaad46e536d114874b44a 100644 (file)
@@ -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
index 8b091fe486ac1a1def9e7824918909ba7fa7bdc1..89d6ab86051d3e3e0d6dc8c28be64522c2cd56c1 100644 (file)
@@ -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