Makefile.patch 801 B

1234567891011121314151617181920212223242526
  1. --- Makefile.old 2019-12-21 13:44:12.414553374 -0600
  2. +++ Makefile 2019-12-21 14:12:56.166581253 -0600
  3. @@ -2,8 +2,8 @@
  4. SHELL = /bin/sh
  5. PROJECT = lpsk31
  6. -BINDIR = /usr/local/bin
  7. -DOCDIR = /usr/local/share/doc/
  8. +BINDIR = /usr/bin
  9. +DOCDIR = /usr/share/doc/
  10. CC = gcc -Wall -march=native -O2 -D_FORTIFY_CODE=2
  11. objects = cat.o main.o phase.o pskcodec.o screen.o sound.o
  12. @@ -20,10 +20,7 @@
  13. sound.o : sound.h
  14. install : $(PROJECT)
  15. - install -m 755 --strip $(PROJECT) $(BINDIR)
  16. - install -m 644 doc/$(PROJECT).html $(DOCDIR)
  17. - if test ! -d $(HOME)/$(PROJECT); then mkdir $(HOME)/$(PROJECT); fi
  18. - install -m 644 default/$(PROJECT)rc $(HOME)/$(PROJECT)
  19. + install -m 755 --strip $(PROJECT) $(DESTDIR)$(BINDIR)
  20. uninstall :
  21. if test -d $(HOME)/$(PROJECT); then rm -r $(HOME)/$(PROJECT); fi