$Id$
--- procps-3.2.7.orig/ps/module.mk	Sun Oct 30 03:19:24 2005
+++ procps-3.2.7/ps/module.mk	Tue May 22 14:32:45 2007
@@ -33,8 +33,10 @@ ps/stacktrace.o: ps/stacktrace.c
 
 
 $(bin)ps: ps/ps
-	$(install) --mode a=rx $< $@
+	mkdir -p $(dir $@)
+	install -c -m 555 $< $@
 
 $(man1)ps.1 : ps/ps.1
-	$(install) --mode a=r $< $@
+	mkdir -p $(dir $@)
+	install -c -m 444 $< $@
 	-rm -f $(DESTDIR)/var/catman/cat1/ps.1.gz $(DESTDIR)/var/man/cat1/ps.1.gz