summaryrefslogtreecommitdiff
path: root/www/mod_auth_pam2/files/patch-Makefile
blob: 4e87186eebfac2e0d76af65b993810023c390cbc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- Makefile.orig	Sat Aug 24 15:33:12 2002
+++ Makefile	Sun Oct  5 20:41:52 2003
@@ -1,5 +1,4 @@
 LIBS=-lpam
-APXS=apxs
 # try this, if you're not root and apxs is in the standard place
 #APXS=/usr/sbin/apxs
 
@@ -14,8 +13,7 @@
 	$(APXS) -c $< $(LIBS)
 
 install: $(TARGETS)
-	$(APXS) -i $(TARGETS)
-	[ -d /etc/pam.d/ -a ! -f /etc/pam.d/httpd ] && install -m 644 -o root -g root samples/httpd /etc/pam.d/
+	$(APXS) -i -A $(TARGETS)
 
 clean:
 	-rm -f $(TARGETS) *~ $(SOURCES:.c=.slo) $(SOURCES:.c=.lo) $(SOURCES:.c=.so) $(SOURCES:.c=.o)