head 1.3; access; symbols; locks; strict; comment @# @; 1.3 date 99.01.15.12.54.14; author alexis; state Exp; branches; next 1.2; 1.2 date 99.01.07.13.30.16; author alexis; state Exp; branches; next 1.1; 1.1 date 96.01.02.16.35.20; author alexis; state Exp; branches; next ; desc @MAKEFILE FOR UPSD @ 1.3 log @removed POST_COMPONENT processing from exclusing pre-release targets. @ text @# $Header: /diskb/home/alexis/dev/supported/upsd/RCS/Makefile,v 1.2 1999/01/07 13:30:16 alexis Exp alexis $ SUPPORT_DIR = ./support include Makefile.defs compile: for DIR in $(PRE_MKREL_CMPTS); do \ ( cd $$DIR && $(MAKE) $@@ ) || exit 1; \ done uninstall: for DIR in $(PRE_MKREL_CMPTS); do \ ( cd $$DIR && $(MAKE) $@@ ) || exit 1; \ done -rmdir $(LCLXBINDIR) -rmdir $(LCLBINDIR) $(LCLMANDIR) $(LCLDOCDIR) -rmdir $(LCLDIR) clean: for DIR in $(PRE_MKREL_CMPTS); do \ ( cd $$DIR && $(MAKE) $@@ ) || exit 1; \ done install: $(INSTALL_CMD) -m 755 -o root -g root -d \ $(LCLDIR) $(LCLBINDIR) $(LCLMANDIR) \ $(LCLDOCDIR) $(LCLXBINDIR) for DIR in $(PRE_MKREL_CMPTS); do \ ( cd $$DIR && $(MAKE) $@@ ) || exit 1; \ done release: mkrel [ ! -f .versions_in_releases ] || \ for DIR in $(POST_MKREL_CMPTS); do \ ( cd $$DIR && $(MAKE) $@@ ) || exit 1; \ done @ 1.2 log @*** empty log message *** @ text @d1 1 a1 1 # $Header: Makefile,v 1.7 1998/08/30 16:13:07 alexis Exp $ a9 4 [ ! -f .versions_in_releases ] || \ for DIR in $(POST_MKREL_CMPTS); do \ ( cd $$DIR && $(MAKE) $@@ ) || exit 1; \ done a14 4 [ ! -f .versions_in_releases ] || \ for DIR in $(POST_MKREL_CMPTS); do \ ( cd $$DIR && $(MAKE) $@@ ) || exit 1; \ done a22 4 [ ! -f .versions_in_releases ] || \ for DIR in $(POST_MKREL_CMPTS); do \ ( cd $$DIR && $(MAKE) $@@ ) || exit 1; \ done d25 3 a27 3 $(INSTALL_CMD) -m 755 -o root -g root -d $(LCLDIR) \ $(LCLBINDIR) $(LCLMANDIR) $(LCLDOCDIR) \ $(LCLXBINDIR) d31 1 a31 4 [ ! -f .versions_in_releases ] || \ for DIR in $(POST_MKREL_CMPTS); do \ ( cd $$DIR && $(MAKE) $@@ ) || exit 1; \ done @ 1.1 log @Initial revision @ text @d1 1 a1 2 upsd: upsd.o gcc -o upsd upsd.o d3 2 a4 2 upsd.o: upsd.c gcc -c -Wall upsd.c d6 8 a13 2 clean: rm -f upsd *.o d15 38 a52 9 install: upsd.8 upsd upsd.slovak strip upsd cp upsd /usr/local/bin chmod 700 /usr/local/bin/upsd chown root /usr/local/bin/upsd cp upsd.8 /usr/local/man/man8 chmod 644 /usr/local/man/man8/upsd.8 cp upsd.slovak /usr/local/bin chmod 700 /usr/local/bin/upsd.slovak @