source: trunk/Apps/Graphics/Sources/xynth/patches/patch-makefiles_cp_R.diff @ 452

Last change on this file since 452 was 452, checked in by Pierre Pronchery, 11 years ago

Finally let Xynth build and install on NetBSD

File size: 10.6 KB
  • xynth-0.8.90

    diff -Naur xynth-0.8.90.orig/Makefile xynth-0.8.90/Makefile
    old new  
    3131install: dist
    3232ifeq ($(PLATFORM_LINUX), Y)
    3333        mkdir -p $(INSTALLDIR)
    34         cp -af dist/* $(INSTALLDIR)
    35         ldconfig
     34        cp -Rf dist/* $(INSTALLDIR)
     35        #ldconfig
    3636else
    3737ifeq ($(PLATFORM_MINGW), Y)
    3838        mkdir -p c:/xynth
    39         cp -af dist/* c:/xynth
     39        cp -Rf dist/* c:/xynth
    4040else
    4141ifeq ($(PLATFORM_PSPDEV), Y)
    4242        rm -rf $(DISTINCDIR)
     
    4444        rm -rf $(DISTCONFDIR)
    4545        rm -rf $(DISTTHEMEDIR)
    4646        mkdir -p dist/psp/game
    47         cp -af dist/bin/__SCE__xynth dist/psp/game
     47        cp -Rf dist/bin/__SCE__xynth dist/psp/game
    4848ifeq ($(PSP_FW_VERSION), 150)
    49         cp -af dist/bin/%__SCE__xynth dist/psp/game
     49        cp -Rf dist/bin/%__SCE__xynth dist/psp/game
    5050endif
    51         cp -af dist/share dist/psp/game/__SCE__xynth
     51        cp -Rf dist/share dist/psp/game/__SCE__xynth
    5252        rm -rf dist/share
    5353        rm -rf dist/bin
    5454else
  • demo/child/Makefile

    diff -Naur xynth-0.8.90.orig/demo/child/Makefile xynth-0.8.90/demo/child/Makefile
    old new  
    2323
    2424dist: all
    2525ifneq ($(TARGET),)
    26         cp -a $(TARGET) ../../$(DISTBINDIR)
     26        cp -R $(TARGET) ../../$(DISTBINDIR)
    2727endif
  • demo/desktop/Makefile

    diff -Naur xynth-0.8.90.orig/demo/desktop/Makefile xynth-0.8.90/demo/desktop/Makefile
    old new  
    2727
    2828dist: all
    2929ifneq ($(TARGET),)
    30         cp -a $(TARGET) ../../$(DISTBINDIR)
     30        cp -R $(TARGET) ../../$(DISTBINDIR)
    3131endif
    3232        mkdir -p ../../$(DISTTOPDIR)/$(SHAREDIR)/desktop
    3333        mkdir -p ../../$(DISTTOPDIR)/$(SHAREDIR)/desktop/cfg/
  • demo/hide/Makefile

    diff -Naur xynth-0.8.90.orig/demo/hide/Makefile xynth-0.8.90/demo/hide/Makefile
    old new  
    2323
    2424dist: all
    2525ifneq ($(TARGET),)
    26         cp -a $(TARGET) ../../$(DISTBINDIR)
     26        cp -R $(TARGET) ../../$(DISTBINDIR)
    2727endif
  • demo/img/Makefile

    diff -Naur xynth-0.8.90.orig/demo/img/Makefile xynth-0.8.90/demo/img/Makefile
    old new  
    2323
    2424dist: all
    2525ifneq ($(TARGET),)
    26         cp -a $(TARGET) ../../$(DISTBINDIR)
     26        cp -R $(TARGET) ../../$(DISTBINDIR)
    2727endif
  • demo/load/Makefile

    diff -Naur xynth-0.8.90.orig/demo/load/Makefile xynth-0.8.90/demo/load/Makefile
    old new  
    2323
    2424dist: all
    2525ifneq ($(TARGET),)
    26         cp -a $(TARGET) ../../$(DISTBINDIR)
     26        cp -R $(TARGET) ../../$(DISTBINDIR)
    2727endif
  • demo/mines/Makefile

    diff -Naur xynth-0.8.90.orig/demo/mines/Makefile xynth-0.8.90/demo/mines/Makefile
    old new  
    2424
    2525dist: all
    2626ifneq ($(TARGET),)
    27         cp -a $(TARGET) ../../$(DISTBINDIR)
     27        cp -R $(TARGET) ../../$(DISTBINDIR)
    2828endif
  • demo/object/Makefile

    diff -Naur xynth-0.8.90.orig/demo/object/Makefile xynth-0.8.90/demo/object/Makefile
    old new  
    2323
    2424dist: all
    2525ifneq ($(TARGET),)
    26         cp -a $(TARGET) ../../$(DISTBINDIR)
     26        cp -R $(TARGET) ../../$(DISTBINDIR)
    2727endif
  • demo/onscreenkeyboard/Makefile

    diff -Naur xynth-0.8.90.orig/demo/onscreenkeyboard/Makefile xynth-0.8.90/demo/onscreenkeyboard/Makefile
    old new  
    2323
    2424dist: all
    2525ifneq ($(TARGET),)
    26         cp -a $(TARGET) ../../$(DISTBINDIR)
     26        cp -R $(TARGET) ../../$(DISTBINDIR)
    2727endif
  • demo/simple/Makefile

    diff -Naur xynth-0.8.90.orig/demo/simple/Makefile xynth-0.8.90/demo/simple/Makefile
    old new  
    2323
    2424dist: all
    2525ifneq ($(TARGET),)
    26         cp -a $(TARGET) ../../$(DISTBINDIR)
     26        cp -R $(TARGET) ../../$(DISTBINDIR)
    2727endif
  • demo/temp/Makefile

    diff -Naur xynth-0.8.90.orig/demo/temp/Makefile xynth-0.8.90/demo/temp/Makefile
    old new  
    2323
    2424dist: all
    2525ifneq ($(TARGET),)
    26         cp -a $(TARGET) ../../$(DISTBINDIR)
     26        cp -R $(TARGET) ../../$(DISTBINDIR)
    2727endif
  • demo/term/Makefile

    diff -Naur xynth-0.8.90.orig/demo/term/Makefile xynth-0.8.90/demo/term/Makefile
    old new  
    2323
    2424dist: all
    2525ifneq ($(TARGET),)
    26         cp -a $(TARGET) ../../$(DISTBINDIR)
     26        cp -R $(TARGET) ../../$(DISTBINDIR)
    2727endif
  • demo/timer/Makefile

    diff -Naur xynth-0.8.90.orig/demo/timer/Makefile xynth-0.8.90/demo/timer/Makefile
    old new  
    2323
    2424dist: all
    2525ifneq ($(TARGET),)
    26         cp -a $(TARGET) ../../$(DISTBINDIR)
     26        cp -R $(TARGET) ../../$(DISTBINDIR)
    2727endif
  • demo/widgetx/Makefile

    diff -Naur xynth-0.8.90.orig/demo/widgetx/Makefile xynth-0.8.90/demo/widgetx/Makefile
    old new  
    3939
    4040dist: all
    4141ifneq ($(TARGET),)
    42         cp -a $(TARGET) ../../$(DISTBINDIR)
     42        cp -R $(TARGET) ../../$(DISTBINDIR)
    4343endif
    4444
    4545EXTRA_CLEAN = widgetx single_widgetx.a widgetx_xml.c widgetx_xml.h widgetx.o widgetx_xml.o
  • demo/xynthlogout/Makefile

    diff -Naur xynth-0.8.90.orig/demo/xynthlogout/Makefile xynth-0.8.90/demo/xynthlogout/Makefile
    old new  
    2323
    2424dist: all
    2525ifneq ($(TARGET),)
    26         cp -a $(TARGET) ../../$(DISTBINDIR)
     26        cp -R $(TARGET) ../../$(DISTBINDIR)
    2727endif
  • src/configs/Makefile

    diff -Naur xynth-0.8.90.orig/src/configs/Makefile xynth-0.8.90/src/configs/Makefile
    old new  
    99        @true
    1010
    1111dist:
    12         cp -a *.conf ../../$(DISTCONFDIR)
    13  No newline at end of file
     12        cp -R *.conf ../../$(DISTCONFDIR)
     13 No newline at end of file
  • src/fonts/Makefile

    diff -Naur xynth-0.8.90.orig/src/fonts/Makefile xynth-0.8.90/src/fonts/Makefile
    old new  
    99        @true
    1010
    1111dist:
    12         cp -a *.ttf ../../$(DISTFONTDIR)
    13  No newline at end of file
     12        cp -R *.ttf ../../$(DISTFONTDIR)
     13 No newline at end of file
  • src/lib/Makefile

    diff -Naur xynth-0.8.90.orig/src/lib/Makefile xynth-0.8.90/src/lib/Makefile
    old new  
    6868        @$(foreach F, $(3RDPARTY-Y) $(3RDPARTY-N) $(3RDPARTY-), $(MAKE) -C $F clean || exit 1;)
    6969
    7070dist: all
    71         cp -a xynth.h ../../$(DISTINCDIR)
    72         cp -a $(TARGET_A) $(TARGET_SO) $(TARGET) ../../$(DISTLIBDIR)
     71        cp -R xynth.h ../../$(DISTINCDIR)
     72        cp -R $(TARGET_A) $(TARGET_SO) $(TARGET) ../../$(DISTLIBDIR)
  • src/server/Makefile

    diff -Naur xynth-0.8.90.orig/src/server/Makefile xynth-0.8.90/src/server/Makefile
    old new  
    8080include ../../Makefile.rules
    8181
    8282dist: all
    83         cp -a $(TARGET) ../../$(DISTBINDIR)
     83        cp -R $(TARGET) ../../$(DISTBINDIR)
    8484ifeq ($(PLATFORM_MINGW), Y)
    8585ifeq ($(THREAD_PTHREADS), Y)
    86         cp -a video/gdi/pthread_w32/pthreadGC2.dll ../../$(DISTBINDIR)
     86        cp -R video/gdi/pthread_w32/pthreadGC2.dll ../../$(DISTBINDIR)
    8787endif
    8888else
    8989ifeq ($(PLATFORM_PSPDEV), Y)
  • src/themes/keramik/Makefile

    diff -Naur xynth-0.8.90.orig/src/themes/keramik/Makefile xynth-0.8.90/src/themes/keramik/Makefile
    old new  
    1111include ../../../Makefile.rules
    1212
    1313dist: all
    14         cp -a $(TARGET_SO) ../../../$(DISTTHEMEDIR)
     14        cp -R $(TARGET_SO) ../../../$(DISTTHEMEDIR)
  • src/themes/microgui/Makefile

    diff -Naur xynth-0.8.90.orig/src/themes/microgui/Makefile xynth-0.8.90/src/themes/microgui/Makefile
    old new  
    1111include ../../../Makefile.rules
    1212
    1313dist: all
    14         cp -a $(TARGET_SO) ../../../$(DISTTHEMEDIR)
     14        cp -R $(TARGET_SO) ../../../$(DISTTHEMEDIR)
  • src/themes/silverado/Makefile

    diff -Naur xynth-0.8.90.orig/src/themes/silverado/Makefile xynth-0.8.90/src/themes/silverado/Makefile
    old new  
    1111include ../../../Makefile.rules
    1212
    1313dist: all
    14         cp -a $(TARGET_SO) ../../../$(DISTTHEMEDIR)
     14        cp -R $(TARGET_SO) ../../../$(DISTTHEMEDIR)
  • src/widget/Makefile

    diff -Naur xynth-0.8.90.orig/src/widget/Makefile xynth-0.8.90/src/widget/Makefile
    old new  
    3939        cp widgetc/widgetc ../../$(DISTBINDIR)
    4040        cp widgetr/widgetr ../../$(DISTBINDIR)
    4141        cp widget.h ../../$(DISTINCDIR)
    42         cp -a $(TARGET_A) $(TARGET_SO) $(TARGET) ../../$(DISTLIBDIR)
     42        cp -R $(TARGET_A) $(TARGET_SO) $(TARGET) ../../$(DISTLIBDIR)
  • src/widget/widgetc/Makefile

    diff -Naur xynth-0.8.90.orig/src/widget/widgetc/Makefile xynth-0.8.90/src/widget/widgetc/Makefile
    old new  
    1717
    1818dist: all
    1919ifneq ($(TARGET),)
    20         cp -a $(TARGET) ../../../$(DISTBINDIR)
     20        cp -R $(TARGET) ../../../$(DISTBINDIR)
    2121endif
  • src/widget/widgetr/Makefile

    diff -Naur xynth-0.8.90.orig/src/widget/widgetr/Makefile xynth-0.8.90/src/widget/widgetr/Makefile
    old new  
    3232
    3333dist: all
    3434ifneq ($(TARGET),)
    35         cp -a $(TARGET) ../../../$(DISTBINDIR)
     35        cp -R $(TARGET) ../../../$(DISTBINDIR)
    3636endif
Note: See TracBrowser for help on using the repository browser.