patch-src_Makefile 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. --- src/Makefile.orig Fri Jun 29 10:26:19 2001
  2. +++ src/Makefile Fri Jun 29 10:27:01 2001
  3. @@ -1,94 +1,8 @@
  4. -cmp=/usr/bin/cmp
  5. -cp=/bin/cp
  6. -mv=/bin/mv
  7. -ln=/bin/ln
  8. -
  9. -all: impress transeps
  10. +all: impress
  11. impress: impress.tcl
  12. cat impress.tcl >impress
  13. chmod a+x impress
  14. -
  15. -../pstoedit/src/drvbase.h.orig:
  16. - @-${mv} ../pstoedit/src/drvbase.h ../pstoedit/src/drvbase.h.orig
  17. -
  18. -../pstoedit/src/drvtk.cpp.orig:
  19. - @-${mv} ../pstoedit/src/drvtk.cpp ../pstoedit/src/drvtk.cpp.orig
  20. -
  21. -../pstoedit/src/drvtk.h.orig:
  22. - @-${mv} ../pstoedit/src/drvtk.h ../pstoedit/src/drvtk.h.orig
  23. -
  24. -installdrvtk: ../pstoedit/src/drvtk.cpp.orig ../pstoedit/src/drvtk.h.orig
  25. - @-${cmp} drvtk.cpp ../pstoedit/src/drvtk.cpp 2>/dev/null || \
  26. - echo "Updating drvtk.cpp" >&2 && ${cp} drvtk.cpp ../pstoedit/src
  27. - @-${cmp} drvtk.h ../pstoedit/src/drvtk.h 2>/dev/null || \
  28. - echo "Updating drvtk.h" >&2 && ${cp} drvtk.h ../pstoedit/src
  29. - @-${cmp} drvbase.h ../pstoedit/src/drvbase.h 2>/dev/null || \
  30. - echo "Updating drvbase.h" >&2 && ${cp} drvbase.h ../pstoedit/src
  31. -
  32. -install: impress impress.tcl transeps COPYING CHANGES OPTIONS README tkFont-patch.diff tkUnixWm-patch.diff installdrvtk
  33. - @-mkdir ../bin
  34. - @-${cmp} impress ../bin/impress 2>/dev/null || \
  35. - echo "Updating impress" >&2 && ${cp} impress ../bin
  36. - @-${cmp} transeps ../bin/transeps 2>/dev/null || \
  37. - echo "Updating transeps" >&2 && ${cp} transeps ../bin
  38. - @-${cmp} COPYING ../COPYING 2>/dev/null || \
  39. - echo "Updating COPYING" >&2 && ${cp} COPYING ..
  40. - @-${cmp} README ../README 2>/dev/null || \
  41. - echo "Updating README" >&2 && ${cp} README ..
  42. - @-${cmp} CHANGES ../CHANGES 2>/dev/null || \
  43. - echo "Updating CHANGES" >&2 && ${cp} CHANGES ..
  44. - @-${cmp} OPTIONS ../OPTIONS 2>/dev/null || \
  45. - echo "Updating OPTIONS" >&2 && ${cp} OPTIONS ..
  46. - @-${cmp} tkFont-patch.diff ../tkFont-patch.diff 2>/dev/null || \
  47. - echo "Updating tkFont-patch.diff" >&2 && ${cp} tkFont-patch.diff ..
  48. - @-${cmp} tkUnixWm-patch.diff ../tkUnixWm-patch.diff 2>/dev/null || \
  49. - echo "Updating tkUnixWm-patch.diff" >&2 && ${cp} tkUnixWm-patch.diff ..
  50. - @-mkdir ../doc
  51. - @-${cmp} doc/arrows.jpg ../doc/arrows.jpg 2>/dev/null || \
  52. - echo "Updating arrows.jpg" >&2 && ${cp} doc/arrows.jpg ../doc
  53. - @-${cmp} doc/custcolor.jpg ../doc/custcolor.jpg 2>/dev/null || \
  54. - echo "Updating custcolor.jpg" >&2 && ${cp} doc/custcolor.jpg ../doc
  55. - @-${cmp} doc/file.jpg ../doc/file.jpg 2>/dev/null || \
  56. - echo "Updating file.jpg" >&2 && ${cp} doc/file.jpg ../doc
  57. - @-${cmp} doc/fonts.jpg ../doc/fonts.jpg 2>/dev/null || \
  58. - echo "Updating fonts.jpg" >&2 && ${cp} doc/fonts.jpg ../doc
  59. - @-${cmp} doc/grid.jpg ../doc/grid.jpg 2>/dev/null || \
  60. - echo "Updating grid.jpg" >&2 && ${cp} doc/grid.jpg ../doc
  61. - @-${cmp} doc/impdoc.html ../doc/impdoc.html 2>/dev/null || \
  62. - echo "Updating impdoc.html" >&2 && ${cp} doc/impdoc.html ../doc
  63. - @-${cmp} doc/implogo.gif ../doc/implogo.gif 2>/dev/null || \
  64. - echo "Updating implogo.gif" >&2 && ${cp} doc/implogo.gif ../doc
  65. - @-${cmp} doc/impressbuttons.jpg ../doc/impressbuttons.jpg 2>/dev/null || \
  66. - echo "Updating impressbuttons.jpg" >&2 && ${cp} doc/impressbuttons.jpg ../doc
  67. - @-${cmp} doc/impressmain2.jpg ../doc/impressmain2.jpg 2>/dev/null || \
  68. - echo "Updating impressmain2.jpg" >&2 && ${cp} doc/impressmain2.jpg ../doc
  69. - @-${cmp} doc/lgtoolbar.jpg ../doc/lgtoolbar.jpg 2>/dev/null || \
  70. - echo "Updating lgtoolbar.jpg" >&2 && ${cp} doc/lgtoolbar.jpg ../doc
  71. - @-${cmp} doc/openurldialog.jpg ../doc/openurldialog.jpg 2>/dev/null || \
  72. - echo "Updating openurldialog.jpg" >&2 && ${cp} doc/openurldialog.jpg ../doc
  73. - @-${cmp} doc/page.jpg ../doc/page.jpg 2>/dev/null || \
  74. - echo "Updating page.jpg" >&2 && ${cp} doc/page.jpg ../doc
  75. - @-${cmp} doc/palette.jpg ../doc/palette.jpg 2>/dev/null || \
  76. - echo "Updating palette.jpg" >&2 && ${cp} doc/palette.jpg ../doc
  77. - @-${cmp} doc/print.jpg ../doc/print.jpg 2>/dev/null || \
  78. - echo "Updating print.jpg" >&2 && ${cp} doc/print.jpg ../doc
  79. - @-${cmp} doc/props.jpg ../doc/props.jpg 2>/dev/null || \
  80. - echo "Updating props.jpg" >&2 && ${cp} doc/props.jpg ../doc
  81. - @-${cmp} doc/pstoedit.jpg ../doc/pstoedit.jpg 2>/dev/null || \
  82. - echo "Updating pstoedit.jpg" >&2 && ${cp} doc/pstoedit.jpg ../doc
  83. - @-${cmp} doc/selection.jpg ../doc/selection.jpg 2>/dev/null || \
  84. - echo "Updating selection.jpg" >&2 && ${cp} doc/selection.jpg ../doc
  85. - @-${cmp} doc/slide.jpg ../doc/slide.jpg 2>/dev/null || \
  86. - echo "Updating slide.jpg" >&2 && ${cp} doc/slide.jpg ../doc
  87. - @-${cmp} doc/tclet.jpg ../doc/tclet.jpg 2>/dev/null || \
  88. - echo "Updating tclet.jpg" >&2 && ${cp} doc/tclet.jpg ../doc
  89. - @-${cmp} doc/toolbarpref.jpg ../doc/toolbarpref.jpg 2>/dev/null || \
  90. - echo "Updating toolbarpref.jpg" >&2 && ${cp} doc/toolbarpref.jpg ../doc
  91. - @-${cmp} doc/urldialog.jpg ../doc/urldialog.jpg 2>/dev/null || \
  92. - echo "Updating urldialog.jpg" >&2 && ${cp} doc/urldialog.jpg ../doc
  93. - @-${cmp} doc/miniview.jpg ../doc/miniview.jpg 2>/dev/null || \
  94. - echo "Updating miniview.jpg" >&2 && ${cp} doc/miniview.jpg ../doc
  95. clean:
  96. rm -f impress transeps