OpenSDE Packages Database (without history before r20070)
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.

57 lines
2.1 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../bcron/bcron-0.10-make-install.patch
  5. # Copyright (C) 2013 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- ./Makefile.orig 2013-04-18 13:41:10.011910953 +0200
  17. +++ ./Makefile 2013-04-18 13:58:39.876580718 +0200
  18. @@ -4,6 +4,14 @@
  19. SHELL=/bin/sh
  20. +DESTDIR=
  21. +PREFIX=/usr/local
  22. +BINDIR=$(PREFIX)/bin
  23. +MANDIR=$(PREFIX)/share/man
  24. +MAN1DIR=$(MANDIR)/man1
  25. +MAN5DIR=$(MANDIR)/man5
  26. +MAN8DIR=$(MANDIR)/man8
  27. +
  28. DEFAULT: all
  29. all: libraries programs docs
  30. @@ -109,8 +117,21 @@
  31. docs: bcron.info bcron.html crontab.5.html bcrontab.1.html bcron-spool.8.html bcron-sched.8.html bcron-exec.8.html bcron-start.8.html bcron-update.8.html
  32. install: INSTHIER conf-bin conf-man
  33. - bg-installer -v <INSTHIER
  34. - bg-installer -c <INSTHIER
  35. + install -m 0755 bcron-exec $(DESTDIR)$(BINDIR)/
  36. + install -m 0755 bcron-sched $(DESTDIR)$(BINDIR)/
  37. + install -m 0755 bcron-spool $(DESTDIR)$(BINDIR)/
  38. + install -m 0755 bcron-start $(DESTDIR)$(BINDIR)/
  39. + install -m 0755 bcron-update $(DESTDIR)$(BINDIR)/
  40. + install -m 0755 bcrontab $(DESTDIR)$(BINDIR)/
  41. + ln -snf bcrontab $(DESTDIR)$(BINDIR)/crontab
  42. + install -m 0644 bcrontab.1 $(DESTDIR)$(MAN1DIR)/
  43. + ln -snf bcrontab.1 $(DESTDIR)$(MAN1DIR)/crontab.1
  44. + install -m 0644 crontab.5 $(DESTDIR)$(MAN5DIR)/
  45. + install -m 0644 bcron-exec.8 $(DESTDIR)$(MAN8DIR)/
  46. + install -m 0644 bcron-sched.8 $(DESTDIR)$(MAN8DIR)/
  47. + install -m 0644 bcron-spool.8 $(DESTDIR)$(MAN8DIR)/
  48. + install -m 0644 bcron-start.8 $(DESTDIR)$(MAN8DIR)/
  49. + install -m 0644 bcron-update.8 $(DESTDIR)$(MAN8DIR)/
  50. job.o: compile job.c bcron.h
  51. ./compile job.c