mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.5 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/x86/apmd/skip_xapm.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- ./Makefile.orig 2002-07-25 08:37:45.000000000 +0200
  20. +++ ./Makefile 2002-07-25 08:39:39.000000000 +0200
  21. @@ -28,7 +28,10 @@
  22. .SUFFIXES:
  23. OBJS=apmlib.o
  24. -EXES=apm apmd xapm apmsleep
  25. +EXES=apm apmd apmsleep
  26. +ifndef SKIP_XAPM
  27. + EXES += xapm
  28. +endif
  29. HEADERS=apm.h
  30. PREFIX=/usr
  31. @@ -94,8 +97,10 @@
  32. install apmd ${PREFIX}/sbin
  33. install -b -Vt apmd_proxy ${APMD_PROXY_DIR}
  34. install -m 644 apmd.8 ${MANDIR}/man8
  35. +ifndef SKIP_XAPM
  36. install xapm ${PREFIX}/bin
  37. install -m 644 xapm.1 ${MANDIR}/man1/xapm.1
  38. +endif
  39. install apmsleep ${PREFIX}/bin
  40. install -m 644 apmsleep.1 ${MANDIR}/man1
  41. install -m 644 apmsleep.1.fr ${MANDIR}/fr/man1