patch-Makefile_in 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. $OpenBSD: patch-Makefile_in,v 1.2 2008/06/04 16:23:33 phessler Exp $
  2. --- Makefile.in.orig Sat Oct 19 21:19:42 2002
  3. +++ Makefile.in Wed Jun 4 00:41:59 2008
  4. @@ -30,7 +30,7 @@ libdir = @libdir@
  5. infodir = @infodir@
  6. mandir = @mandir@
  7. includedir = @includedir@
  8. -oldincludedir = /usr/include
  9. +oldincludedir = ${PREFIX}
  10. DESTDIR =
  11. @@ -73,7 +73,7 @@ SDL_CONFIG = @SDL_CONFIG@
  12. SDL_LIBS = @SDL_LIBS@
  13. VERSION = @VERSION@
  14. -bin_PROGRAMS = Maelstrom Maelstrom-netd
  15. +bin_PROGRAMS = maelstrom maelstrom-netd
  16. Maelstrom_SOURCES = Maelstrom.h Maelstrom_Globals.h buttonlist.h checksum.cpp checksum.h colortable.h controls.cpp controls.h dialog.cpp dialog.h fastrand.cpp fastrand.h init.cpp load.cpp load.h logic.h main.cpp myerror.cpp myerror.h netscore.cpp netscore.h public_key.h rect.cpp rect.h scores.cpp scores.h
  17. @@ -193,11 +193,11 @@ distclean-compile:
  18. maintainer-clean-compile:
  19. -Maelstrom: $(Maelstrom_OBJECTS) $(Maelstrom_DEPENDENCIES)
  20. +maelstrom: $(Maelstrom_OBJECTS) $(Maelstrom_DEPENDENCIES)
  21. @rm -f Maelstrom
  22. $(CXXLINK) $(Maelstrom_LDFLAGS) $(Maelstrom_OBJECTS) $(Maelstrom_LDADD) $(LIBS)
  23. -Maelstrom-netd: $(Maelstrom_netd_OBJECTS) $(Maelstrom_netd_DEPENDENCIES)
  24. +maelstrom-netd: $(Maelstrom_netd_OBJECTS) $(Maelstrom_netd_DEPENDENCIES)
  25. @rm -f Maelstrom-netd
  26. $(LINK) $(Maelstrom_netd_LDFLAGS) $(Maelstrom_netd_OBJECTS) $(Maelstrom_netd_LDADD) $(LIBS)
  27. .cpp.o:
  28. @@ -431,21 +431,21 @@ maintainer-clean-generic clean mostlyclean distclean m
  29. # Special install rule for the game
  30. install:
  31. - make install_gamedata target=@GAME_INSTALLDIR@
  32. + make install_gamedata target=$(PREFIX)/share/maelstrom
  33. + make install_gamedocs target=$(PREFIX)/share/doc/maelstrom
  34. install_gamedata:
  35. sh mkinstalldirs $(target)/
  36. - cp -rv Images \
  37. + cp -R Images \
  38. Maelstrom_Fonts \
  39. Maelstrom_Sounds \
  40. Maelstrom_Sprites \
  41. Maelstrom-Scores \
  42. icon.bmp icon.xpm $(target)/
  43. - chmod 666 $(target)/Maelstrom-Scores
  44. install_gamedocs:
  45. sh mkinstalldirs $(target)/
  46. - cp -rv README* COPYING* Docs* $(target)/
  47. + cp -R README* COPYING* Docs* $(target)/
  48. # Rule to build tar-gzipped distribution package
  49. $(PACKAGE)-$(VERSION).tar.gz: dist