summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut-cgi/patches/patch-aa
blob: 6884ffbf986bdd760701e59682ae8cccb238b73b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$NetBSD: patch-aa,v 1.2 2001/09/28 04:42:49 lukem Exp $

--- Makefile.in.orig	Fri Aug 10 02:52:31 2001
+++ Makefile.in	Fri Sep 28 12:50:05 2001
@@ -5,10 +5,10 @@
 BASEPATH    = $(INSTALLROOT)@prefix@
 CONFPATH    = $(INSTALLROOT)@sysconfdir@
 CGIPATH     = $(INSTALLROOT)@CGIPATH@
-INSTALLDIRS = $(CONFPATH) $(CGIPATH) $(MODELPATH) $(BASEPATH)/@bindir@  $(BASEPATH)/@sbindir@ $(BASEPATH)/misc
+INSTALLDIRS = $(CGIPATH)
 STATEPATH   = $(INSTALLROOT)@STATEPATH@
 
-SUBDIRS	= common models server clients man
+SUBDIRS	= common
 CFLAGS	= -I../include @CFLAGS@
 
 # these are here so they can be overridden during a make install
@@ -58,11 +58,10 @@
 		./install-sh -d -o $(RUNUID) -g $(RUNGID) $(STATEPATH) || exit 1; \
 	fi
 
-cgi:
+cgi:	build
 	@cd clients; $(MAKE) cgi; cd ..;
 
 install-cgi: install-dirs 
-	@cd conf; $(MAKE) install; cd ..;
 	@cd clients; $(MAKE) install-cgi; cd ..;
 
 install-misc: install-dirs