Issue #923 resolved

`-g` cannot detect `.mk`

leesei
created an issue

pygmentize -g Android.mk incorrectly highlights the make file

pygmentize -l make Android.mk does a better job

Comments (6)

  1. leesei reporter

    I guess it's shell or no lexer, how to output the guessed lexer?

    Here's the Android.mk I tested:

    # Copyright 2007 The Android Open Source Project
    #
    LOCAL_PATH:= $(call my-dir)
    include $(CLEAR_VARS)
    
    LOCAL_SRC_FILES := $(call all-subdir-java-files)
    LOCAL_MODULE := pm
    include $(BUILD_JAVA_LIBRARY)
    
    
    include $(CLEAR_VARS)
    ALL_PREBUILT += $(TARGET_OUT)/bin/pm
    $(TARGET_OUT)/bin/pm : $(LOCAL_PATH)/pm | $(ACP)
            $(transform-prebuilt-to-target)
    
  2. Log in to comment