make-rules/shared-targets.mk
changeset 94 e2364cad23ff
parent 85 8098282b503b
child 100 385905d9554d
equal deleted inserted replaced
93:b579c7b1bb44 94:e2364cad23ff
    22 #
    22 #
    23 
    23 
    24 #
    24 #
    25 # (hopefully) helpful common targets.
    25 # (hopefully) helpful common targets.
    26 #
    26 #
       
    27 
       
    28 PROTOMAN1FILES=$(MAN1FILES:%=$(PROTOUSRSHAREMAN1DIR)/%)
       
    29 PROTOMAN3FILES=$(MAN3FILES:%=$(PROTOUSRSHAREMAN3DIR)/%)
       
    30 
       
    31 $(PROTOUSRSHAREMAN1DIR)/% $(PROTOUSRSHAREMAN3DIR)/%:    manpages/%
       
    32 	$(INS.file)
       
    33 
    27 PROTOSFWLINKS= $(SFWPROGS:%=$(PROTOSFWBIN)/%)
    34 PROTOSFWLINKS= $(SFWPROGS:%=$(PROTOSFWBIN)/%)
    28 
    35 
    29 $(PROTOSFWLINKS):	$(PROTOSFWBIN)
    36 $(PROTOSFWLINKS):	$(PROTOSFWBIN)
    30 	$(RM) [email protected] ; $(SYMLINK) ../../bin/$(@F) [email protected]
    37 	$(RM) [email protected] ; $(SYMLINK) ../../bin/$(@F) [email protected]
    31 
    38 
    45 	$(RM) [email protected] ; $(SYMLINK) ../../../../share/man/man1/g$(@F) [email protected]
    52 	$(RM) [email protected] ; $(SYMLINK) ../../../../share/man/man1/g$(@F) [email protected]
    46 
    53 
    47 
    54 
    48 $(PROTOETCDIR) \
    55 $(PROTOETCDIR) \
    49 $(PROTOUSRSHAREMAN1DIR) \
    56 $(PROTOUSRSHAREMAN1DIR) \
       
    57 $(PROTOUSRSHAREMAN3DIR) \
    50 $(PROTOGNUBIN) \
    58 $(PROTOGNUBIN) \
    51 $(PROTOGNUSHAREMAN1) \
    59 $(PROTOGNUSHAREMAN1) \
    52 $(PROTOSFWBIN) \
    60 $(PROTOSFWBIN) \
    53 $(PROTOSFWSHAREMAN1):
    61 $(PROTOSFWSHAREMAN1):
    54 	$(MKDIR) [email protected]
    62 	$(MKDIR) [email protected]
    55 
    63 
       
    64 $(PROTOMAN3FILES): $(PROTOUSRSHAREMAN3DIR)
       
    65 
       
    66 $(PROTOMAN1FILES): $(PROTOUSRSHAREMAN1DIR)