commit | 5e4c5003c5cd5709e599aedbfdd5ef223dd3dc79 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jun 13 15:56:10 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jun 13 15:56:10 2019 +0200 |
tree | 99bbff535aa9f6a71691cdd84979a5ca2b419bc9 | |
parent | dda1155ed7a295889ed1e1741a60851d74a49d04 [diff] |
CLEANUP: 51d: move the 51d dummy lib to contrib/51d/src to match the real lib This way the directory structure remains the same as with the real lib and one can apply the same build options regardless of where the lib is stored, removing any possible confusion.
diff --git a/contrib/51d/cityhash/city.c b/contrib/51d/src/cityhash/city.c similarity index 100% rename from contrib/51d/cityhash/city.c rename to contrib/51d/src/cityhash/city.c
diff --git a/contrib/51d/pattern/51Degrees.c b/contrib/51d/src/pattern/51Degrees.c similarity index 100% rename from contrib/51d/pattern/51Degrees.c rename to contrib/51d/src/pattern/51Degrees.c
diff --git a/contrib/51d/pattern/51Degrees.h b/contrib/51d/src/pattern/51Degrees.h similarity index 100% rename from contrib/51d/pattern/51Degrees.h rename to contrib/51d/src/pattern/51Degrees.h
diff --git a/contrib/51d/threading.c b/contrib/51d/src/threading.c similarity index 100% rename from contrib/51d/threading.c rename to contrib/51d/src/threading.c
diff --git a/contrib/51d/trie/51Degrees.c b/contrib/51d/src/trie/51Degrees.c similarity index 100% rename from contrib/51d/trie/51Degrees.c rename to contrib/51d/src/trie/51Degrees.c
diff --git a/contrib/51d/trie/51Degrees.h b/contrib/51d/src/trie/51Degrees.h similarity index 100% rename from contrib/51d/trie/51Degrees.h rename to contrib/51d/src/trie/51Degrees.h
diff --git a/doc/51Degrees-device-detection.txt b/doc/51Degrees-device-detection.txt index 2d4679d..f0349ab 100644 --- a/doc/51Degrees-device-detection.txt +++ b/doc/51Degrees-device-detection.txt
@@ -58,9 +58,11 @@ directory. This does not function, but implements the API such that the 51Degrees module can be used (but not return any meaningful information). To test either Pattern or Hash Trie, build with: - $ make TARGET=<target> USE_51DEGREES=1 51DEGREES_SRC=contrib/51d/pattern + + $ make TARGET=<target> USE_51DEGREES=1 51DEGREES_SRC=contrib/51d/src/pattern or - $ make TARGET=<target> USE_51DEGREES=1 51DEGREES_SRC=contrib/51d/trie + $ make TARGET=<target> USE_51DEGREES=1 51DEGREES_SRC=contrib/51d/src/trie + respectively. The configuration file needs to set the following parameters: