Ticket #18946: patch-src-Makefile.2.diff

File patch-src-Makefile.2.diff, 694 bytes (added by nerdling (Jeremy Lavergne), 16 years ago)
  • (a) Makefile2 vs. (b) Makefile

    a b  
    1212#########################################################
    1313
    1414# ¥¤¥ó¥¹¥È¡¼¥ëÀè¤ò»ØÄê
    15 TARGET = /usr/games/
     15
    1616
    1717# ¥ì¥³¡¼¥É¥Õ¥¡¥¤¥ë¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò»ØÄê
    18 RECORD_DIR  = /var/games/xjump
     18RECORD_DIR  = @PREFIX@/var/games/xjump
    1919
    2020#¥ì¥³¡¼¥É¥Õ¥¡¥¤¥ë¤Î¥Õ¥¡¥¤¥ë̾¤ò»ØÄê(Ãí¡§¤³¤ì¤Ï¥Ð¥¤¥Ê¥ê¤ËËä¤á¹þ¤Þ¤ì¤Þ¤¹)
    2121RECORD_FILE  = $(RECORD_DIR)/record
     
    5656
    5757
    5858install : xjump
    59         install -g games -c -s -m 2755 xjump $(DESTDIR)$(TARGET)
    60 
     59        install xjump $(DESTDIR)@PREFIX@/bin
     60        mkdir $(RECORD_DIR)
     61        touch $(RECORD_FILE)
     62        chmod 777 $(RECORD_FILE)
    6163clean:
    6264        rm -f *.o xjump *~