version 1.1, 2008/11/10 13:15:33 |
version 1.2, 2010/01/29 20:35:45 |
|
|
$OpenBSD$ |
$OpenBSD$ |
--- platforms/openbsd/Makefile.orig Mon Jun 2 01:57:55 2008 |
--- platforms/openbsd/Makefile.orig Mon Jan 25 07:50:11 2010 |
+++ platforms/openbsd/Makefile Wed Aug 6 00:41:14 2008 |
+++ platforms/openbsd/Makefile Mon Jan 25 07:57:27 2010 |
@@ -1,64 +0,0 @@ |
@@ -7,58 +7,8 @@ all-install: install-openbsd |
-topdir:=../.. |
all-uninstall: uninstall-openbsd |
- |
|
-SUBDIRS = |
install-openbsd: |
-include $(topdir)/autoconf/targets.mak |
|
- |
|
-all-install: install-openbsd |
|
-all-uninstall: uninstall-openbsd |
|
- |
|
-install-openbsd: |
|
- $(call DISTINST,OpenBSD) |
- $(call DISTINST,OpenBSD) |
- $(call MKDIR,/etc) |
- $(call MKDIR,/etc) |
- $(call INSTPROG,744,apcupsd,/etc/rc.apcupsd) |
- $(call INSTPROG,744,apcupsd,/etc/rc.apcupsd) |
|
|
- echo "Once you are satisfied, uncomment the appropriate"; \ |
- echo "Once you are satisfied, uncomment the appropriate"; \ |
- echo "lines in /etc/rc.local" ) | /usr/bin/fmt; \ |
- echo "lines in /etc/rc.local" ) | /usr/bin/fmt; \ |
- fi |
- fi |
- |
+ $(call MKDIR,$(sbindir)) |
-uninstall-openbsd: |
+ $(call INSTPROG,744,apcupsd,$(sbindir)/apcupsctl) |
|
|
|
uninstall-openbsd: |
- $(call DISTUNINST,OpenBSD) |
- $(call DISTUNINST,OpenBSD) |
- -$(call UNINST,/etc/rc.apcupsd) |
- -$(call UNINST,/etc/rc.apcupsd) |
- $(VV)-today="`date +%Y%m%d%H%M`"; \ |
- $(VV)-today="`date +%Y%m%d%H%M`"; \ |
|
|
- chmod 644 $$f; \ |
- chmod 644 $$f; \ |
- fi; \ |
- fi; \ |
- done |
- done |
|
+ $(call UNINST,$(sbindir)/apcupsctl) |