Remove the ?docs token

It's not actually used anywhere and not even set on Windows.
This commit is contained in:
Thomas Goyne 2014-06-03 17:08:29 -07:00
parent 0bf93ec263
commit 47303007eb
5 changed files with 1 additions and 5 deletions

View File

@ -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

View File

@ -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 \

View File

@ -43,7 +43,6 @@ Path::Path() {
tokens["?data"]; tokens["?data"];
tokens["?temp"]; tokens["?temp"];
tokens["?dictionary"]; tokens["?dictionary"];
tokens["?docs"];
FillPlatformSpecificPaths(); FillPlatformSpecificPaths();

View File

@ -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);
} }
} }

View File

@ -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"));
} }
} }