open-src/font/bitstream-vera/Makefile
changeset 355 a3a81e9c227d
parent 222 73975f82276f
child 493 f43507b5737d
equal deleted inserted replaced
354:c5722f7db2ea 355:a3a81e9c227d
    28 # Except as contained in this notice, the name of a copyright holder
    28 # Except as contained in this notice, the name of a copyright holder
    29 # shall not be used in advertising or otherwise to promote the sale, use
    29 # shall not be used in advertising or otherwise to promote the sale, use
    30 # or other dealings in this Software without prior written authorization
    30 # or other dealings in this Software without prior written authorization
    31 # of the copyright holder.
    31 # of the copyright holder.
    32 #
    32 #
    33 # @(#)Makefile	1.3	07/09/14
    33 # @(#)Makefile	1.4	08/03/07
    34 #
    34 #
    35 
    35 
    36 PWD:sh=pwd
    36 PWD:sh=pwd
    37 TOP=$(PWD)/../..
    37 TOP=$(PWD)/../..
    38 
    38 
    56 BUILD_TARGETS=$(SOURCE_DIR)/fonts.scale
    56 BUILD_TARGETS=$(SOURCE_DIR)/fonts.scale
    57 
    57 
    58 # Directory to install to
    58 # Directory to install to
    59 DEST_DIR=$(PROTODIR)$(TRUETYPE_DIR)
    59 DEST_DIR=$(PROTODIR)$(TRUETYPE_DIR)
    60 
    60 
       
    61 # License file
       
    62 LICENSE_FILE=COPYRIGHT.TXT
       
    63 LICENSE_FILE_SET=yes
       
    64 
    61 ### Include common rulesets
    65 ### Include common rulesets
    62 include $(TOP)/common/Makefile.inc
    66 include $(TOP)/common/Makefile.inc
    63 
    67 
    64 ### Rules specific to this directory:
    68 ### Rules specific to this directory:
    65 
    69 
    80 $(SOURCE_DIR)/fonts.scale: $(UNPACK_TARGET)
    84 $(SOURCE_DIR)/fonts.scale: $(UNPACK_TARGET)
    81 	(cd $(SOURCE_DIR) && \
    85 	(cd $(SOURCE_DIR) && \
    82 	 LD_LIBRARY_PATH=$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
    86 	 LD_LIBRARY_PATH=$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
    83 	 $(PROTODIR)$(X11_DIR)/bin/mkfontscale . )
    87 	 $(PROTODIR)$(X11_DIR)/bin/mkfontscale . )
    84 
    88 
    85 install_gen: $(BUILD_TARGETS)
    89 install_gen:: $(BUILD_TARGETS)
    86 	mkdir -p $(DEST_DIR)
    90 	mkdir -p $(DEST_DIR)
    87 	-( cd $(DEST_DIR) ; rm -f $(VERA_FONT_FILES) VeraFontsCopyright.txt )
    91 	-( cd $(DEST_DIR) ; rm -f $(VERA_FONT_FILES) VeraFontsCopyright.txt )
    88 	( cd $(SOURCE_DIR) ; cp -p $(VERA_FONT_FILES) $(DEST_DIR) )
    92 	( cd $(SOURCE_DIR) ; cp -p $(VERA_FONT_FILES) $(DEST_DIR) )
    89 	cp -p $(SOURCE_DIR)/COPYRIGHT.TXT $(DEST_DIR)/VeraFontsCopyright.txt 
    93 	cp -p $(SOURCE_DIR)/COPYRIGHT.TXT $(DEST_DIR)/VeraFontsCopyright.txt 
    90 	touch $(DEST_DIR)/fonts.scale
    94 	touch $(DEST_DIR)/fonts.scale