Ticket #26156: patch-Makefile.diff

File patch-Makefile.diff, 682 bytes (added by phillipao@…, 14 years ago)

Makefile diff for showkey

  • Makefile

    old new  
    1212        rm -f showkey showkey.o splashscreen.h showkey.1 *.rpm *.tar.gz
    1313
    1414install: showkey.1
    15         cp showkey /usr/bin/showkey
    16         cp showkey.1 /usr/share/man/man1
     15        mkdir -p $(DESTDIR)/opt/local/bin
     16        cp showkey $(DESTDIR)/opt/local/bin/showkey
     17        mkdir -p $(DESTDIR)/opt/local/share/man/man1
     18        cp showkey.1 $(DESTDIR)/opt/local/share/man/man1
    1719
    1820uninstall:
    19         rm /usr/bin/showkey
    20         rm /usr/share/man/man1/showkey.1
     21        rm $(DESTDIR)/opt/local/bin/showkey
     22        rm $(DESTDIR)/opt/local/share/man/man1/showkey.1
    2123
    2224SOURCES = README Makefile showkey.c showkey.xml showkey.spec
    2325