summaryrefslogtreecommitdiff
path: root/sysutils/ups-nut-cgi/patches/patch-aa
blob: 947af3f98de312d1fda4faf7cffbf03329429556 (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.3 2002/01/03 14:49:00 lukem Exp $

--- Makefile.in.orig	Fri Oct 26 17:16:27 2001
+++ Makefile.in
@@ -8,7 +8,7 @@
 INSTALLDIRS = $(CONFPATH) $(MODELPATH) $(BASEPATH)/@bindir@ $(BASEPATH)/@sbindir@
 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
@@ -60,7 +60,7 @@
 		|| echo "Unable to set ownership of $(STATEPATH)"; \
 	fi
 
-cgi:
+cgi: build
 	@cd clients; $(MAKE) cgi; cd ..;
 
 install-cgi: install-dirs 
@@ -68,7 +68,6 @@
 		./install-sh -d $(CGIPATH) || exit 1; \
 	fi \
 
-	@cd conf; $(MAKE) install; cd ..;
 	@cd clients; $(MAKE) install-cgi; cd ..;
 
 install-misc: install-dirs