mirror of https://github.com/odrling/Aegisub
Remove the ?docs token
It's not actually used anywhere and not even set on Windows.
This commit is contained in:
parent
0bf93ec263
commit
47303007eb
|
@ -62,7 +62,6 @@ P_LOCALE = @localedir@
|
||||||
P_DESKTOP = @P_DESKTOP@
|
P_DESKTOP = @P_DESKTOP@
|
||||||
P_ICON = @P_ICON@
|
P_ICON = @P_ICON@
|
||||||
P_DATA = $(P_DATAROOT)/aegisub/
|
P_DATA = $(P_DATAROOT)/aegisub/
|
||||||
P_DOC = @docdir@
|
|
||||||
|
|
||||||
###############
|
###############
|
||||||
# LIBRARY FLAGS
|
# LIBRARY FLAGS
|
||||||
|
|
|
@ -10,7 +10,7 @@ lagi_pre.h.gch: CXXFLAGS := $(CXXFLAGS)
|
||||||
|
|
||||||
common/charset_conv.o: CXXFLAGS += $(CFLAGS_ICONV)
|
common/charset_conv.o: CXXFLAGS += $(CFLAGS_ICONV)
|
||||||
common/parser.o: CXXFLAGS += -ftemplate-depth=256
|
common/parser.o: CXXFLAGS += -ftemplate-depth=256
|
||||||
unix/path.o: CXXFLAGS += -DP_DATA=\"$(P_DATA)\" -DP_DOC=\"$(P_DOC)\" -DP_LOCALE=\"$(P_LOCALE)\"
|
unix/path.o: CXXFLAGS += -DP_DATA=\"$(P_DATA)\"
|
||||||
|
|
||||||
SRC += \
|
SRC += \
|
||||||
common/parser.cpp \
|
common/parser.cpp \
|
||||||
|
|
|
@ -43,7 +43,6 @@ Path::Path() {
|
||||||
tokens["?data"];
|
tokens["?data"];
|
||||||
tokens["?temp"];
|
tokens["?temp"];
|
||||||
tokens["?dictionary"];
|
tokens["?dictionary"];
|
||||||
tokens["?docs"];
|
|
||||||
|
|
||||||
FillPlatformSpecificPaths();
|
FillPlatformSpecificPaths();
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,6 @@ void Path::FillPlatformSpecificPaths() {
|
||||||
#endif
|
#endif
|
||||||
SetToken("?temp", boost::filesystem::temp_directory_path());
|
SetToken("?temp", boost::filesystem::temp_directory_path());
|
||||||
SetToken("?dictionary", "/usr/share/hunspell");
|
SetToken("?dictionary", "/usr/share/hunspell");
|
||||||
SetToken("?docs", P_DOC);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,6 @@ void Path::FillPlatformSpecificPaths() {
|
||||||
SetToken("?data", filename);
|
SetToken("?data", filename);
|
||||||
|
|
||||||
SetToken("?dictionary", Decode("?data/dictionaries"));
|
SetToken("?dictionary", Decode("?data/dictionaries"));
|
||||||
//SetToken("?docs", Decode("?data/docs"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue