Commit Graph

97 Commits

Author SHA1 Message Date
Zeckmathederg
c8dee92123 Edited lfs-navigational.xsl so favicon.ico appears as logo on every page. 2024-06-06 21:09:36 -06:00
Zeckmathederg
a2bb07cead Added official GLFS logo. 2024-06-06 06:52:45 -06:00
Zeckmathederg
746566a9f1 Changed blfs mentions in Makefile to GLFS, changed filenames to follow suite, added pdf build option, and edited INSTALL to let users know pdf build option exists 2024-04-28 21:29:39 -06:00
Zeckmathederg
715c6b235f Changed project name from blfs-next to GLFS. xml files do not reflect this at the moment 2024-04-28 13:09:30 -06:00
Zeckmathederg
f6e361dd1b Readded xincludes, changed blfs target to blfs-next, moved two xml files to where they should be, and finished Networking section for the Steam chapter 2024-04-24 22:21:32 -06:00
Pierre Labastie
c40c526d34 Style sheets: fix docbook-xsl bug in autoidx
The template named generate-basic-index in
{docbook-xsl}/xhtml/autoidx.xsl has a bug that generates a div element
with a wrong xmlns:xlink attribute. See
https://github.com/docbook/xslt10-stylesheets/issues/239.
Rather than fixing docbook-xsl, which would work only in LFS (but we
want to be able to render on other distros), copy the faulty template
to our customization files (lfs-index.xsl), so that this one is used.
We can also simplify it a lot since we don't need all the cases
covered in general docbook-xsl.
Also remove the sed for this bug in the Makefile.
2024-01-17 19:43:51 +01:00
Pierre Labastie
1df87eede9 Output the book in utf-8 encoding
Also fix doctype being removed by tidy in longindex by removing a wrong
attribute (xmlns:xlink) in a div element in the index.
2024-01-15 09:47:56 +01:00
Pierre Labastie
99eb823a18 Add a crude test of options vs parameter 2023-12-08 22:05:39 +01:00
Pierre Labastie
e3047fdc76 Restore the render system to what it was before pythonhosted changes 2023-01-25 13:01:41 +01:00
Xi Ruoyao
4653242e25
git-version: Don't dump revision if no "important files" are changed
If an important file is changed, we regenerate version.ent and so bump
the revision.  Otherwise, version.ent may be kept.  Hack git-version.sh
so we can ensure version.ent is really not changed.

Add Makefile itself and git-version.sh into the important file list as
they can definitely affect book rendering.
2023-01-25 10:12:13 +08:00
Xi Ruoyao
05d5b11202
Revert "Makefile: use a "by-the-book" way to detect build environment change"
This reverts commit 41275f9aac.
2023-01-25 09:51:58 +08:00
Xi Ruoyao
f6065b4995
Revert "Makefile: fix build-env generation"
This reverts commit bb0d80a8d3.
2023-01-25 09:51:44 +08:00
Xi Ruoyao
bb0d80a8d3
Makefile: fix build-env generation
Not sure why the previous commit with ovbious errors "seems to work"...
2023-01-23 19:56:57 +08:00
Xi Ruoyao
41275f9aac
Makefile: use a "by-the-book" way to detect build environment change
"Move if changed" is a widely use approach for this.  And we also need
to detect if BASEDIR has changed.
2023-01-23 19:24:38 +08:00
Pierre Labastie
51bec49736 Makefile: don't always make version.ent
If nothing has changed in the book, there is no need to regenerate
version.ent, blfs-full.xml, etc... So only make version.ent
.PHONY if REV has changed.
2023-01-23 10:02:19 +01:00
Xi Ruoyao
036d893ee2
build: make version.ent a .PHONY
Because we don't know how to track its dependencies...  The content
actually depends on some Git metadata.
2023-01-23 10:19:58 +08:00
Bruce Dubbs
6837c68bf7 Remove pythonhosted for now.
We will change pythonhosted.xml to incorporate all python modules
(perhaps excepting PyXDG) at https://files.pythonhosted.org
and move it to the top of the Python Modules page.

We will need to place the md5sums for the module sources in packages.ent
so they can be referenced in two places.

For now, remove the page from the build.  Later we will need to clean up
Makefile and archive stylesheets/{pyhosted-inc,pythonhosted}.xsl.
2023-01-22 10:13:38 -06:00
Bruce Dubbs
b6ad4e01f9 Remove warning on first build after clone
Created a new file, dummy.xml, that is copied to
./general/prog/python-dependencies/pythonhosted.xml
if that file does not already exist. This avoids a warning
when generating the book for the first time after
cloning the source from the repository.
2023-01-20 12:04:25 -06:00
Pierre Labastie
b547faf379 Tell that the pythonhosted.xml warning is expected
IN Makefile, test whather pythonhosted.xml exists. If not, tell to
ignore the warning.
2023-01-19 21:41:27 +01:00
Pierre Labastie
da7d9ae174 Fix a missing `\' in Makefile 2023-01-13 14:29:18 +01:00
Pierre Labastie
851f6a7f8c Finish reformatting Makefile
Also the "echo" command should be preceded with @, not $(Q)
2023-01-12 15:56:52 +01:00
Pierre Labastie
a2f7a1c282 Add a "modeline" to Makefile
It sets tabstops to 3 in this file, since formatting is made for
this tab size. Plus reformat a few lines
2023-01-12 15:54:01 +01:00
Pierre Labastie
6c4a91a874 tidy up Makefile new part
Use the PYHOSTED variable
use $(Q) instead of @
2023-01-12 09:59:51 +01:00
Pierre Labastie
7f5bdbb90b version.ent is an "order-only" dep of pythonhosted
the python module pages include general.ent, which needs
conditional.ent and version.ent, so that should exist for generating
pythonhosted.xml. OTOH, what is in version.ent doesn't matter.
2023-01-11 15:46:37 +01:00
Pierre Labastie
bcd84ba442 Add pythonhosted.xml as a dependency of BLFS_FULL 2023-01-11 15:22:11 +01:00
Pierre Labastie
5247008596 Makefile: refactor "version" target
Makefile's use files for their dependency calculations. Since
git-version.sh generates files (version.ent and conditional.ent)
use version.ent to see whether git-version.sh has been run.

The only target that should depend on version.ent is then
$(BLFS_FULL) since all other targets depend (directly or indirectly
on this one).

version.ent itself depends on any change made to xml files, xsl files,
packages.ent, general.ent. We could add more (Makefile, gnome.ent, some
scripts), but let's see whether we really want it.
2023-01-11 15:19:04 +01:00
Pierre Labastie
a04cf4b89f Clean up variable names and use in Makefile 2023-01-11 15:05:59 +01:00
Pierre Labastie
3c265f56a1 ALLXML shouldn't depend on pythonhosted.xml 2023-01-11 15:03:38 +01:00
Pierre Labastie
139b9105f5 Add a make rule to generate pythonhosted.xml 2023-01-10 22:56:53 +01:00
Xi Ruoyao
50836740d2
merge conditional XML from LFS
There was some consistency issues in URLs to LFS.  For example, in
systemd revision the URL to LFS "General Network Configuration" points
to the sysv book, this can be really troubling to new readers.

Instead of fixing them one by one, merge conditional XML developed by
Pierre from LFS.
2021-10-17 04:17:34 +08:00
Bruce Dubbs
28909b7239 Fix up MimeType entries in .desktop instructions
We aso had a sed in the Makefile that changes text/html.
I changed that to only look at the top 20 lines of each page.
2021-08-31 15:39:20 -05:00
Pierre Labastie
8ed58eef75 Fix lfs-print.css location in index.html <head>
The template generates ../stylesheets/lfs-print.css, which is
ok for all pages, except index.html. Remove the ../ with a sed
in the Makefile.
2021-08-21 10:38:26 +02:00
Thomas Trepl (Moody)
820b6d763a Add an initial version of a 'help' target 2021-07-17 13:44:23 +02:00
Xi Ruoyao
ccded7e164
clean up unused SVN prop entries 2021-04-20 19:12:02 +08:00
Xi Ruoyao
17c9da822a
generate version info from git 2021-04-15 17:31:50 +08:00
Pierre Labastie
869909a5c0 Allows using system docbook-xsl stylesheets:
- with a slight change of the css stylesheet, allows having the glossary
  title in the same style as the others
- tested with docbook-xsl 1.78.1, 1.79.1, 1.79.2

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22137 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-09-13 17:00:08 +00:00
Pierre Labastie
867ab10677 blfs-full should be rebuilt when packages.ent is touched, too
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18887 af4574ff-66df-0310-9fd7-8a98e5e911e0
2017-06-29 06:56:00 +00:00
DJ Lucas
f852e706e2 Initial systemd import, update to blfs-sytemd-units-20160602, makefile changes for building both books and systemd-units
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17424 af4574ff-66df-0310-9fd7-8a98e5e911e0
2016-06-02 05:39:31 +00:00
Bruce Dubbs
efe19bad3a UPdate Makefile to support systemd merge
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17421 af4574ff-66df-0310-9fd7-8a98e5e911e0
2016-06-01 19:02:11 +00:00
Igor Živković
6d3005f6b1 revert some accidentally pulled changes from my environment
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@13848 af4574ff-66df-0310-9fd7-8a98e5e911e0
2014-08-07 09:20:13 +00:00
Igor Živković
c41b38ff6b Update to qemu-2.1.0.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@13847 af4574ff-66df-0310-9fd7-8a98e5e911e0
2014-08-07 09:17:28 +00:00
Bruce Dubbs
a1083b4460 Update to sendmail-8.14.9.
Add target to Makefile to create bootscripts.
Fix a url in apache.


git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@13181 af4574ff-66df-0310-9fd7-8a98e5e911e0
2014-05-27 20:08:08 +00:00
Randy McMurchy
f5ee8c2e8f Commented the PDF generation from the Makefile
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10536 af4574ff-66df-0310-9fd7-8a98e5e911e0
2012-08-22 16:33:50 +00:00
Bruce Dubbs
ed4ba3e660 Minor clarification in Makefile
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9169 af4574ff-66df-0310-9fd7-8a98e5e911e0
2012-01-07 17:48:20 +00:00
Bruce Dubbs
7ba7636859 Change book build Makefile to specify bash, not sh
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7515 af4574ff-66df-0310-9fd7-8a98e5e911e0
2008-07-16 19:17:52 +00:00
Dan Nichilson
cb55412f9d Correct the prerequisite for the "test-links" target
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7449 af4574ff-66df-0310-9fd7-8a98e5e911e0
2008-05-11 15:42:15 +00:00
Dan Nichilson
02be151ac2 Creating blfs-pdf.fo depends on a generated blfs-pdf.xml
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7448 af4574ff-66df-0310-9fd7-8a98e5e911e0
2008-05-11 15:42:04 +00:00
Dan Nichilson
6328b8935c Use all *.xml and *.xsl files as prereqs for blfs-full.xml, too
Thanks to Alexander for pointing out a much easier way to do this. I
think this should take care of nearly all the corner cases and allow
re-rendering to only occur when something has actually changed.


git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7384 af4574ff-66df-0310-9fd7-8a98e5e911e0
2008-04-15 05:06:28 +00:00
Dan Nichilson
5d463a519e More specific output when running chunked vs. non-chunked HTML
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7362 af4574ff-66df-0310-9fd7-8a98e5e911e0
2008-04-08 17:32:23 +00:00
Dan Nichilson
0238e7e31e Reorganize to generate patches script and then strip list with awk
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7361 af4574ff-66df-0310-9fd7-8a98e5e911e0
2008-04-08 17:32:17 +00:00