--- 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) 
