Issue #923 resolved

`-g` cannot detect `.mk`

created an issue

pygmentize -g incorrectly highlights the make file

pygmentize -l make 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 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)
  2. Log in to comment