[Apcupsd-commits] apcupsd/platforms/debian Makefile, NONE, 1.1.2.1 Makefile.in, 1.4, NONE
Brought to you by:
adk0212
From: Adam K. <ad...@us...> - 2008-04-07 23:03:07
|
Update of /cvsroot/apcupsd/apcupsd/platforms/debian In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv19226/platforms/debian Added Files: Tag: Branch-3_14 Makefile Removed Files: Tag: Branch-3_14 Makefile.in Log Message: Add 'make install' support for alpha, darwin, debian, engarde, and unknown. Also misc fixes to existing install support. --- Makefile.in DELETED --- --- NEW FILE: Makefile --- topdir:=../.. SUBDIRS = include $(topdir)/autoconf/targets.mak all-install: install-debian all-uninstall: uninstall-debian install-debian: $(if $(DESTDIR),,$(V)/usr/sbin/update-rc.d apcupsd remove) $(call MKDIR,/etc/init.d) $(call INSTDATA,744,apcupsd,/etc/init.d/apcupsd) $(if $(DESTDIR),,$(V)/usr/sbin/update-rc.d apcupsd start 20 1 2 3 4 5 . stop 20 0 1 6 .) $(call INSTORIG,744,ups-monitor,/etc/init.d/ups-monitor) @echo "---------------------------------------------------------------------" @echo " NOTE: APCUPSD will almost certainly not work \"out of the box.\"" @echo " You MUST properly edit $(sysconfdir)/apcupsd.conf or apcupsd" @echo " will fail on startup. Also, please see that your script" @echo " at /etc/init.d/halt properly calls /etc/init.d/ups-monitor" @echo " as shown in platforms/debian/examples/halt.ex." @echo "---------------------------------------------------------------------" uninstall-debian: $(call UNINST,/etc/init.d/apcupsd) $(if $(DESTDIR),,$(V)/usr/sbin/update-rc.d apcupsd remove) $(call UNINST,/etc/init.d/ups-monitor) # Include dependencies -include $(SRCS:%.c=$(DEPDIR)/%.P) |