make-rules/shared-targets.mk
changeset 94 e2364cad23ff
parent 85 8098282b503b
child 100 385905d9554d
--- a/make-rules/shared-targets.mk	Thu Feb 17 13:44:40 2011 -0800
+++ b/make-rules/shared-targets.mk	Thu Feb 17 14:05:50 2011 -0800
@@ -24,6 +24,13 @@
 #
 # (hopefully) helpful common targets.
 #
+
+PROTOMAN1FILES=$(MAN1FILES:%=$(PROTOUSRSHAREMAN1DIR)/%)
+PROTOMAN3FILES=$(MAN3FILES:%=$(PROTOUSRSHAREMAN3DIR)/%)
+
+$(PROTOUSRSHAREMAN1DIR)/% $(PROTOUSRSHAREMAN3DIR)/%:    manpages/%
+	$(INS.file)
+
 PROTOSFWLINKS= $(SFWPROGS:%=$(PROTOSFWBIN)/%)
 
 $(PROTOSFWLINKS):	$(PROTOSFWBIN)
@@ -47,9 +54,13 @@
 
 $(PROTOETCDIR) \
 $(PROTOUSRSHAREMAN1DIR) \
+$(PROTOUSRSHAREMAN3DIR) \
 $(PROTOGNUBIN) \
 $(PROTOGNUSHAREMAN1) \
 $(PROTOSFWBIN) \
 $(PROTOSFWSHAREMAN1):
 	$(MKDIR) [email protected]
 
+$(PROTOMAN3FILES): $(PROTOUSRSHAREMAN3DIR)
+
+$(PROTOMAN1FILES): $(PROTOUSRSHAREMAN1DIR)