Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/documentation/booksdevelopers-handbooktools_index/el/units/?format=api&page=4
https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/units/?format=api&page=5", "previous": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/units/?format=api&page=3", "results": [ { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "% cc file1.o file2.o … file37.c …\n" ], "previous_source": "", "target": [ "" ], "id_hash": -7619117293426156582, "content_hash": -7619117293426156582, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:491", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 151, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate-dev.freebsd.org/api/units/1067074/?format=api", "priority": 100, "id": 1643934, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=164375307f4c5bda", "url": "https://translate-dev.freebsd.org/api/units/1643934/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.642141Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "if we had changed [.filename]#file37.c#, but not any of the others, since the last time we compiled. This may speed up the compilation quite a bit, but does not solve the typing problem." ], "previous_source": "", "target": [ "" ], "id_hash": -6107097664752305967, "content_hash": -6107097664752305967, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:495", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 152, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 33, "source_unit": "https://translate-dev.freebsd.org/api/units/1192004/?format=api", "priority": 100, "id": 1643935, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=2b3f3b07dbd238d1", "url": "https://translate-dev.freebsd.org/api/units/1643935/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.642770Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "Or we could write a shell script to solve the typing problem, but it would have to re-compile everything, making it very inefficient on a large project." ], "previous_source": "", "target": [ "" ], "id_hash": 8606695502000029594, "content_hash": 8606695502000029594, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:497", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 153, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 27, "source_unit": "https://translate-dev.freebsd.org/api/units/1067078/?format=api", "priority": 100, "id": 1643936, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=f7711ff576a9ff9a", "url": "https://translate-dev.freebsd.org/api/units/1643936/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.643431Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "What happens if we have hundreds of source files lying about? What if we are working in a team with other people who forget to tell us when they have changed one of their source files that we use?" ], "previous_source": "", "target": [ "" ], "id_hash": 251822745930683809, "content_hash": 251822745930683809, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:499", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 154, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 39, "source_unit": "https://translate-dev.freebsd.org/api/units/1067080/?format=api", "priority": 100, "id": 1643937, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=837ea774058fd5a1", "url": "https://translate-dev.freebsd.org/api/units/1643937/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.644043Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "Perhaps we could put the two solutions together and write something like a shell script that would contain some kind of magic rule saying when a source file needs compiling. Now all we need now is a program that can understand these rules, as it is a bit too complicated for the shell." ], "previous_source": "", "target": [ "" ], "id_hash": 4329630854371177600, "content_hash": 4329630854371177600, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:502", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 155, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 53, "source_unit": "https://translate-dev.freebsd.org/api/units/1192006/?format=api", "priority": 100, "id": 1643938, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=bc15f0529b5d7480", "url": "https://translate-dev.freebsd.org/api/units/1643938/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.644693Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "This program is called `make`. It reads in a file, called a _makefile_, that tells it how different files depend on each other, and works out which files need to be re-compiled and which ones do not. For example, a rule could say something like \"if [.filename]#fromboz.o# is older than [.filename]#fromboz.c#, that means someone must have changed [.filename]#fromboz.c#, so it needs to be re-compiled.\" The makefile also has rules telling make _how_ to re-compile the source file, making it a much more powerful tool." ], "previous_source": "", "target": [ "" ], "id_hash": 3491997206227953171, "content_hash": 3491997206227953171, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:507", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 156, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 84, "source_unit": "https://translate-dev.freebsd.org/api/units/1192008/?format=api", "priority": 100, "id": 1643939, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=b07610f529dfa613", "url": "https://translate-dev.freebsd.org/api/units/1643939/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.645379Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "Makefiles are typically kept in the same directory as the source they apply to, and can be called [.filename]#makefile#, [.filename]#Makefile# or [.filename]#MAKEFILE#. Most programmers use the name [.filename]#Makefile#, as this puts it near the top of a directory listing, where it can easily be seen.footnote:[They do not use the MAKEFILE form as block capitals are often used for documentation files like README.]" ], "previous_source": "", "target": [ "" ], "id_hash": 8526639144746468809, "content_hash": 8526639144746468809, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:510", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 157, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 62, "source_unit": "https://translate-dev.freebsd.org/api/units/1192010/?format=api", "priority": 100, "id": 1643940, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=f654b520468dc5c9", "url": "https://translate-dev.freebsd.org/api/units/1643940/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.646081Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "Example of Using `make`" ], "previous_source": "", "target": [ "" ], "id_hash": -402538280064195545, "content_hash": -402538280064195545, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:511", "context": "", "note": "type: Title ===", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 158, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1067088/?format=api", "priority": 100, "id": 1643941, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=7a69e5912846e427", "url": "https://translate-dev.freebsd.org/api/units/1643941/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.646756Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "Here is a very simple make file:" ], "previous_source": "", "target": [ "" ], "id_hash": -455843244652565680, "content_hash": -455843244652565680, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:514", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 159, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate-dev.freebsd.org/api/units/1067090/?format=api", "priority": 100, "id": 1643942, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=79ac84fbf138eb50", "url": "https://translate-dev.freebsd.org/api/units/1643942/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.647377Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "foo: foo.c\n\tcc -o foo foo.c\n" ], "previous_source": "", "target": [ "" ], "id_hash": 8863983537938140558, "content_hash": 8863983537938140558, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:519, documentation/content/en/books/developers-handbook/tools/_index.adoc:545", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 160, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/1067092/?format=api", "priority": 100, "id": 1643943, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=fb03321079b68d8e", "url": "https://translate-dev.freebsd.org/api/units/1643943/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.648009Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "It consists of two lines, a dependency line and a creation line." ], "previous_source": "", "target": [ "" ], "id_hash": -8193031188534729180, "content_hash": -8193031188534729180, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:522", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 161, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate-dev.freebsd.org/api/units/1067094/?format=api", "priority": 100, "id": 1643944, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=0e4c818ae5b0e624", "url": "https://translate-dev.freebsd.org/api/units/1643944/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.648641Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "The dependency line here consists of the name of the program (known as the _target_), followed by a colon, then whitespace, then the name of the source file. When `make` reads this line, it looks to see if [.filename]#foo# exists; if it exists, it compares the time [.filename]#foo# was last modified to the time [.filename]#foo.c# was last modified. If [.filename]#foo# does not exist, or is older than [.filename]#foo.c#, it then looks at the creation line to find out what to do. In other words, this is the rule for working out when [.filename]#foo.c# needs to be re-compiled." ], "previous_source": "", "target": [ "" ], "id_hash": 6611838109750114142, "content_hash": 6611838109750114142, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:529", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 162, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 97, "source_unit": "https://translate-dev.freebsd.org/api/units/1192012/?format=api", "priority": 100, "id": 1643945, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=dbc1f7bad40bb75e", "url": "https://translate-dev.freebsd.org/api/units/1643945/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.649268Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "The creation line starts with a tab (press kbd:[tab]) and then the command you would type to create [.filename]#foo# if you were doing it at a command prompt. If [.filename]#foo# is out of date, or does not exist, `make` then executes this command to create it. In other words, this is the rule which tells make how to re-compile [.filename]#foo.c#." ], "previous_source": "", "target": [ "" ], "id_hash": 6351739071827613146, "content_hash": 6351739071827613146, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:533", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 163, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 60, "source_unit": "https://translate-dev.freebsd.org/api/units/1192014/?format=api", "priority": 100, "id": 1643946, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=d825e9086a4115da", "url": "https://translate-dev.freebsd.org/api/units/1643946/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.649965Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "So, when you type `make`, it will make sure that [.filename]#foo# is up to date with respect to your latest changes to [.filename]#foo.c#. This principle can be extended to [.filename]#Makefile#'s with hundreds of targets-in fact, on FreeBSD, it is possible to compile the entire operating system just by typing `make world` in the appropriate directory!" ], "previous_source": "", "target": [ "" ], "id_hash": 1319355585155957383, "content_hash": 1319355585155957383, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:537", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 164, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 55, "source_unit": "https://translate-dev.freebsd.org/api/units/1192016/?format=api", "priority": 100, "id": 1643947, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=924f4aea19a60287", "url": "https://translate-dev.freebsd.org/api/units/1643947/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.650628Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "Another useful property of makefiles is that the targets do not have to be programs. For instance, we could have a make file that looks like this:" ], "previous_source": "", "target": [ "" ], "id_hash": 8770167862290012732, "content_hash": 8770167862290012732, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:540", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 165, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 27, "source_unit": "https://translate-dev.freebsd.org/api/units/1192018/?format=api", "priority": 100, "id": 1643948, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=f9b5e5345457da3c", "url": "https://translate-dev.freebsd.org/api/units/1643948/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.651277Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "install:\n\tcp foo /home/me\n" ], "previous_source": "", "target": [ "" ], "id_hash": -6317818221192547865, "content_hash": -6317818221192547865, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:548", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 166, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1067104/?format=api", "priority": 100, "id": 1643949, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=285299cd1253f1e7", "url": "https://translate-dev.freebsd.org/api/units/1643949/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.651929Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "We can tell make which target we want to make by typing:" ], "previous_source": "", "target": [ "" ], "id_hash": -8967026937497589423, "content_hash": -8967026937497589423, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:551", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 167, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate-dev.freebsd.org/api/units/1067106/?format=api", "priority": 100, "id": 1643950, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=038eb8827b18e951", "url": "https://translate-dev.freebsd.org/api/units/1643950/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.652534Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "% make target\n" ], "previous_source": "", "target": [ "" ], "id_hash": -7645755387384314455, "content_hash": -7645755387384314455, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:555", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 168, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1067108/?format=api", "priority": 100, "id": 1643951, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=15e4d1fbef6dc5a9", "url": "https://translate-dev.freebsd.org/api/units/1643951/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.653152Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "`make` will then only look at that target and ignore any others. For example, if we type `make foo` with the makefile above, make will ignore the `install` target." ], "previous_source": "", "target": [ "" ], "id_hash": -2479381071640525991, "content_hash": -2479381071640525991, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:559", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 169, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 29, "source_unit": "https://translate-dev.freebsd.org/api/units/1192020/?format=api", "priority": 100, "id": 1643952, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=5d97780d3a0a0359", "url": "https://translate-dev.freebsd.org/api/units/1643952/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.653775Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "If we just type `make` on its own, make will always look at the first target and then stop without looking at any others. So if we typed `make` here, it will just go to the `foo` target, re-compile [.filename]#foo# if necessary, and then stop without going on to the `install` target." ], "previous_source": "", "target": [ "" ], "id_hash": -6233270545243743963, "content_hash": -6233270545243743963, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:562", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 170, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 52, "source_unit": "https://translate-dev.freebsd.org/api/units/1192022/?format=api", "priority": 100, "id": 1643953, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=297ef976e1d75925", "url": "https://translate-dev.freebsd.org/api/units/1643953/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.654433Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "Notice that the `install` target does not actually depend on anything! This means that the command on the following line is always executed when we try to make that target by typing `make install`. In this case, it will copy [.filename]#foo# into the user's home directory. This is often used by application makefiles, so that the application can be installed in the correct directory when it has been correctly compiled." ], "previous_source": "", "target": [ "" ], "id_hash": 5196669278657625984, "content_hash": 5196669278657625984, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:566", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 171, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 70, "source_unit": "https://translate-dev.freebsd.org/api/units/1192024/?format=api", "priority": 100, "id": 1643954, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=c81e472d0192bf80", "url": "https://translate-dev.freebsd.org/api/units/1643954/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.655072Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "This is a slightly confusing subject to try to explain. If you do not quite understand how `make` works, the best thing to do is to write a simple program like \"hello world\" and a make file like the one above and experiment. Then progress to using more than one source file, or having the source file include a header file. `touch` is very useful here-it changes the date on a file without you having to edit it." ], "previous_source": "", "target": [ "" ], "id_hash": -1443109104860228677, "content_hash": -1443109104860228677, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:571", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 172, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 78, "source_unit": "https://translate-dev.freebsd.org/api/units/1192026/?format=api", "priority": 100, "id": 1643955, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=6bf90bea40ac93bb", "url": "https://translate-dev.freebsd.org/api/units/1643955/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.655758Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "Make and include-files" ], "previous_source": "", "target": [ "" ], "id_hash": 301026374423132447, "content_hash": 301026374423132447, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:572", "context": "", "note": "type: Title ===", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 173, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1067118/?format=api", "priority": 100, "id": 1643956, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=842d75e48383b91f", "url": "https://translate-dev.freebsd.org/api/units/1643956/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.656438Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "C code often starts with a list of files to include, for example stdio.h. Some of these files are system-include files, some of them are from the project you are now working on:" ], "previous_source": "", "target": [ "" ], "id_hash": 7653624538946390208, "content_hash": 7653624538946390208, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:576", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 174, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 33, "source_unit": "https://translate-dev.freebsd.org/api/units/1192028/?format=api", "priority": 100, "id": 1643957, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=ea3722f7b01cc8c0", "url": "https://translate-dev.freebsd.org/api/units/1643957/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.657060Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "#include <stdio.h>\n#include \"foo.h\"\n" ], "previous_source": "", "target": [ "" ], "id_hash": 7238125627651826864, "content_hash": 7238125627651826864, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:581", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 175, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1067122/?format=api", "priority": 100, "id": 1643958, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=e472fce8bbd6a4b0", "url": "https://translate-dev.freebsd.org/api/units/1643958/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.657697Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "int main(....\n" ], "previous_source": "", "target": [ "" ], "id_hash": 699460815291080585, "content_hash": 699460815291080585, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:583", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 176, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1067124/?format=api", "priority": 100, "id": 1643959, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=89b4fbe7d5badf89", "url": "https://translate-dev.freebsd.org/api/units/1643959/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.658313Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "To make sure that this file is recompiled the moment [.filename]#foo.h# is changed, you have to add it in your [.filename]#Makefile#:" ], "previous_source": "", "target": [ "" ], "id_hash": 9038490314116074366, "content_hash": 9038490314116074366, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:586", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 177, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 21, "source_unit": "https://translate-dev.freebsd.org/api/units/1067126/?format=api", "priority": 100, "id": 1643960, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=fd6f2b0d7eb28b7e", "url": "https://translate-dev.freebsd.org/api/units/1643960/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.658909Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "foo: foo.c foo.h\n" ], "previous_source": "", "target": [ "" ], "id_hash": -8467197179226191986, "content_hash": -8467197179226191986, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:590", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 178, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1067128/?format=api", "priority": 100, "id": 1643961, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=0a7e7906d108878e", "url": "https://translate-dev.freebsd.org/api/units/1643961/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.659530Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "The moment your project is getting bigger and you have more and more own include-files to maintain, it will be a pain to keep track of all include files and the files which are depending on it. If you change an include-file but forget to recompile all the files which are depending on it, the results will be devastating. `clang` has an option to analyze your files and to produce a list of include-files and their dependencies: `-MM`." ], "previous_source": "", "target": [ "" ], "id_hash": -4698101764182203594, "content_hash": -4698101764182203594, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:597", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 179, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 78, "source_unit": "https://translate-dev.freebsd.org/api/units/1192030/?format=api", "priority": 100, "id": 1643962, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=3eccfd564b48a336", "url": "https://translate-dev.freebsd.org/api/units/1643962/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.660154Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "If you add this to your Makefile:" ], "previous_source": "", "target": [ "" ], "id_hash": 1316010865824843206, "content_hash": 1316010865824843206, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:599", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 180, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate-dev.freebsd.org/api/units/1067132/?format=api", "priority": 100, "id": 1643963, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=924368e8f20b45c6", "url": "https://translate-dev.freebsd.org/api/units/1643963/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.660809Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "depend:\n\tcc -E -MM *.c > .depend\n" ], "previous_source": "", "target": [ "" ], "id_hash": -8008716179598468024, "content_hash": -8008716179598468024, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:604", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 181, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate-dev.freebsd.org/api/units/1067134/?format=api", "priority": 100, "id": 1643964, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=10db5311101c1c48", "url": "https://translate-dev.freebsd.org/api/units/1643964/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.661422Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "and run `make depend`, the file [.filename]#.depend# will appear with a list of object-files, C-files and the include-files:" ], "previous_source": "", "target": [ "" ], "id_hash": -6155043539714366754, "content_hash": -6155043539714366754, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:607", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 182, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://translate-dev.freebsd.org/api/units/1067136/?format=api", "priority": 100, "id": 1643965, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=2a94e482ee4322de", "url": "https://translate-dev.freebsd.org/api/units/1643965/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.662047Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "foo.o: foo.c foo.h\n" ], "previous_source": "", "target": [ "" ], "id_hash": 2152012539559615738, "content_hash": 2152012539559615738, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:611", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 183, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1067138/?format=api", "priority": 100, "id": 1643966, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=9ddd7c00bca31cfa", "url": "https://translate-dev.freebsd.org/api/units/1643966/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.662676Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "If you change [.filename]#foo.h#, next time you run `make` all files depending on [.filename]#foo.h# will be recompiled." ], "previous_source": "", "target": [ "" ], "id_hash": -696896841594239585, "content_hash": -696896841594239585, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:614", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 184, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 17, "source_unit": "https://translate-dev.freebsd.org/api/units/1067140/?format=api", "priority": 100, "id": 1643967, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=76542003cfaf059f", "url": "https://translate-dev.freebsd.org/api/units/1643967/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.663269Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "Do not forget to run `make depend` each time you add an include-file to one of your files." ], "previous_source": "", "target": [ "" ], "id_hash": 6514405785320467349, "content_hash": 6514405785320467349, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:616", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 185, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://translate-dev.freebsd.org/api/units/1067142/?format=api", "priority": 100, "id": 1643968, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=da67d18c04c6ab95", "url": "https://translate-dev.freebsd.org/api/units/1643968/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.663888Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "FreeBSD Makefiles" ], "previous_source": "", "target": [ "" ], "id_hash": 6343307125045158261, "content_hash": 6343307125045158261, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:617", "context": "", "note": "type: Title ===", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 186, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1067144/?format=api", "priority": 100, "id": 1643969, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=d807f438d1856175", "url": "https://translate-dev.freebsd.org/api/units/1643969/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.664504Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "Makefiles can be rather complicated to write. Fortunately, BSD-based systems like FreeBSD come with some very powerful ones as part of the system. One very good example of this is the FreeBSD ports system. Here is the essential part of a typical ports [.filename]#Makefile#:" ], "previous_source": "", "target": [ "" ], "id_hash": 8090309892465989481, "content_hash": 8090309892465989481, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:623", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 187, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 44, "source_unit": "https://translate-dev.freebsd.org/api/units/1192032/?format=api", "priority": 100, "id": 1643970, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=f0468dfb9f439769", "url": "https://translate-dev.freebsd.org/api/units/1643970/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.665150Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "MASTER_SITES= ftp://freefall.cdrom.com/pub/FreeBSD/LOCAL_PORTS/\nDISTFILES= scheme-microcode+dist-7.3-freebsd.tgz\n" ], "previous_source": "", "target": [ "" ], "id_hash": -8317808820433532079, "content_hash": -8317808820433532079, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:628", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 188, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1067148/?format=api", "priority": 100, "id": 1643971, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=0c9134f28c72cb51", "url": "https://translate-dev.freebsd.org/api/units/1643971/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.665801Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ ".include <bsd.port.mk>\n" ], "previous_source": "", "target": [ "" ], "id_hash": 5002209166483044708, "content_hash": 5002209166483044708, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:630", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 189, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1067150/?format=api", "priority": 100, "id": 1643972, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=c56b6abbec6cb964", "url": "https://translate-dev.freebsd.org/api/units/1643972/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.666423Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "Now, if we go to the directory for this port and type `make`, the following happens:" ], "previous_source": "", "target": [ "" ], "id_hash": 7184794772068303978, "content_hash": 7184794772068303978, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:633", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 190, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 16, "source_unit": "https://translate-dev.freebsd.org/api/units/1067152/?format=api", "priority": 100, "id": 1643973, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=e3b584c74d37046a", "url": "https://translate-dev.freebsd.org/api/units/1643973/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.667011Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "A check is made to see if the source code for this port is already on the system." ], "previous_source": "", "target": [ "" ], "id_hash": -6256479716023047099, "content_hash": -6256479716023047099, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:636", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 191, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://translate-dev.freebsd.org/api/units/1067154/?format=api", "priority": 100, "id": 1643974, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=292c84d8b6026c45", "url": "https://translate-dev.freebsd.org/api/units/1643974/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.667621Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "If it is not, an FTP connection to the URL in MASTER_SITES is set up to download the source." ], "previous_source": "", "target": [ "" ], "id_hash": 8649660119836294953, "content_hash": 8649660119836294953, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:637", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 192, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://translate-dev.freebsd.org/api/units/1067156/?format=api", "priority": 100, "id": 1643975, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=f809c40d16b47f29", "url": "https://translate-dev.freebsd.org/api/units/1643975/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.668216Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "The checksum for the source is calculated and compared it with one for a known, good, copy of the source. This is to make sure that the source was not corrupted while in transit." ], "previous_source": "", "target": [ "" ], "id_hash": 7374214838939783219, "content_hash": 7374214838939783219, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:638", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 193, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 34, "source_unit": "https://translate-dev.freebsd.org/api/units/1067158/?format=api", "priority": 100, "id": 1643976, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=e6567953646b9033", "url": "https://translate-dev.freebsd.org/api/units/1643976/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.668816Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "Any changes required to make the source work on FreeBSD are applied-this is known as _patching_." ], "previous_source": "", "target": [ "" ], "id_hash": -7450070140701102043, "content_hash": -7450070140701102043, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:639", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 194, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 16, "source_unit": "https://translate-dev.freebsd.org/api/units/1067160/?format=api", "priority": 100, "id": 1643977, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=189c08addfc43025", "url": "https://translate-dev.freebsd.org/api/units/1643977/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.669434Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "Any special configuration needed for the source is done. (Many UNIX(R) program distributions try to work out which version of UNIX(R) they are being compiled on and which optional UNIX(R) features are present-this is where they are given the information in the FreeBSD ports scenario)." ], "previous_source": "", "target": [ "" ], "id_hash": 5078629643944091846, "content_hash": 5078629643944091846, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:640", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 195, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 45, "source_unit": "https://translate-dev.freebsd.org/api/units/1067162/?format=api", "priority": 100, "id": 1643978, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=c67aeac0e10e60c6", "url": "https://translate-dev.freebsd.org/api/units/1643978/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.670047Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "The source code for the program is compiled. In effect, we change to the directory where the source was unpacked and do `make`-the program's own make file has the necessary information to build the program." ], "previous_source": "", "target": [ "" ], "id_hash": -5752038551014264364, "content_hash": -5752038551014264364, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:641", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 196, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 35, "source_unit": "https://translate-dev.freebsd.org/api/units/1067164/?format=api", "priority": 100, "id": 1643979, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=302ca769d87131d4", "url": "https://translate-dev.freebsd.org/api/units/1643979/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.670685Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "We now have a compiled version of the program. If we wish, we can test it now; when we feel confident about the program, we can type `make install`. This will cause the program and any supporting files it needs to be copied into the correct location; an entry is also made into a `package database`, so that the port can easily be uninstalled later if we change our mind about it." ], "previous_source": "", "target": [ "" ], "id_hash": -3614028373279081508, "content_hash": -3614028373279081508, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:642", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 197, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 72, "source_unit": "https://translate-dev.freebsd.org/api/units/1067166/?format=api", "priority": 100, "id": 1643980, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=4dd86457aa847bdc", "url": "https://translate-dev.freebsd.org/api/units/1643980/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.671307Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "Now I think you will agree that is rather impressive for a four line script!" ], "previous_source": "", "target": [ "" ], "id_hash": -6631477415573364823, "content_hash": -6631477415573364823, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:644", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 198, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 15, "source_unit": "https://translate-dev.freebsd.org/api/units/1067168/?format=api", "priority": 100, "id": 1643981, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=23f8426cf4b95fa9", "url": "https://translate-dev.freebsd.org/api/units/1643981/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.671960Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "The secret lies in the last line, which tells `make` to look in the system makefile called [.filename]#bsd.port.mk#. It is easy to overlook this line, but this is where all the clever stuff comes from-someone has written a makefile that tells `make` to do all the things above (plus a couple of other things I did not mention, including handling any errors that may occur) and anyone can get access to that just by putting a single line in their own make file!" ], "previous_source": "", "target": [ "" ], "id_hash": -6662721035325457380, "content_hash": -6662721035325457380, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:648", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 199, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 83, "source_unit": "https://translate-dev.freebsd.org/api/units/1192034/?format=api", "priority": 100, "id": 1643982, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=23894284dbe73c1c", "url": "https://translate-dev.freebsd.org/api/units/1643982/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.672569Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksdevelopers-handbooktools_index/el/?format=api", "source": [ "If you want to have a look at these system makefiles, they are in [.filename]#/usr/share/mk#, but it is probably best to wait until you have had a bit of practice with makefiles, as they are very complicated (and if you do look at them, make sure you have a flask of strong coffee handy!)" ], "previous_source": "", "target": [ "" ], "id_hash": 707244106029295477, "content_hash": 707244106029295477, "location": "documentation/content/en/books/developers-handbook/tools/_index.adoc:652", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 200, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 54, "source_unit": "https://translate-dev.freebsd.org/api/units/1067172/?format=api", "priority": 100, "id": 1643983, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksdevelopers-handbooktools_index/el/?checksum=89d0a2c46d5d6775", "url": "https://translate-dev.freebsd.org/api/units/1643983/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:42:26.673255Z" } ] }{ "count": 409, "next": "