patch-platforms_openbsd_Makefile 770 B

12345678910111213141516171819202122232425262728
  1. $OpenBSD: patch-platforms_openbsd_Makefile,v 1.1.1.1 2010/05/25 21:56:33 sthen Exp $
  2. --- platforms/openbsd/Makefile.orig Sun Jun 1 22:57:55 2008
  3. +++ platforms/openbsd/Makefile Sun May 16 15:25:58 2010
  4. @@ -5,8 +5,12 @@ include $(topdir)/autoconf/targets.mak
  5. all-install: install-openbsd
  6. all-uninstall: uninstall-openbsd
  7. -
  8. +
  9. install-openbsd:
  10. + $(call MKDIR,$(sbindir))
  11. + $(call INSTPROG,744,apcupsd,$(sbindir)/apcupsctl)
  12. +
  13. +xx-install-openbsd:
  14. $(call DISTINST,OpenBSD)
  15. $(call MKDIR,/etc)
  16. $(call INSTPROG,744,apcupsd,/etc/rc.apcupsd)
  17. @@ -48,6 +52,9 @@ install-openbsd:
  18. fi
  19. uninstall-openbsd:
  20. + $(call UNINST,$(sbindir)/apcupsctl)
  21. +
  22. +xx-uninstall-openbsd:
  23. $(call DISTUNINST,OpenBSD)
  24. -$(call UNINST,/etc/rc.apcupsd)
  25. $(VV)-today="`date +%Y%m%d%H%M`"; \