Commit Graph

131 Commits

Author SHA1 Message Date
Thomas Trepl
54d46f7475 Automatic merge of trunk into multilib 2024-08-13 00:30:12 +02:00
Xi Ruoyao
aa00b47601
build: Use -r for git ls-tree in make dist
Without this we may pack things like *.swp into the tarball.
2024-08-12 19:20:16 +08:00
Thomas Trepl
8ccf082a21 Automatic merge of trunk into multilib 2024-01-31 20:22:48 +01:00
Pierre Labastie
b6dd23c76b Makefile: improvements in xsltproc commands
- remove some useless --xinclude
- write only one option per line
- use --encode UTF-8 instead of --noent (which is useless after
  profiling anyway
- try to be consistent in option order
- use --output instead of -o
2024-01-27 22:42:07 +01:00
Pierre Labastie
16d01822df Makefile: remove "true" after tidy
If in a series of commands, and not the last, true has no effect
If in the last command, it is better to exit if there is a real
error in tidy, so use "|| test $$? -le 1", but only when tidy is
the last in a series of commands

Part of a patch by Boian Berberov
2024-01-27 22:42:07 +01:00
Pierre Labastie
4ac089b5b2 Unify the writing of sed's in Makefile
also remove a commented out line

Part of a patch by Boian Berberov
2024-01-27 22:41:48 +01:00
Pierre Labastie
0d80918aec Makefile: change ~ to $(HOME)
This is more readable.
Also remove obsolete variables at start.

Part of a patch by Boian Berberov
2024-01-27 16:47:45 +01:00
Thomas Trepl
bb1dfaf649 Automatic merge of trunk into multilib 2024-01-25 12:41:51 +01:00
Xi Ruoyao
47bc996103
Makefile: Ensure wget-list and md5sums regenerated when patches.xml or packages.xml has changed 2024-01-22 03:21:08 +08:00
Thomas Trepl
4a9c50a4e7 Automatic merge of trunk into multilib 2024-01-18 10:47:51 +01:00
Thomas Trepl
0632116b70 Automatic merge of trunk into multilib 2024-01-17 15:07:16 +01:00
Pierre Labastie
91f4b2df57 SImplify Makefile now that we have fixed DB-xsl bug 2024-01-17 14:49:48 +01:00
Xi Ruoyao
8ba840f34a
Makefile: Unify two sed for removing bogus xmlns:xlink, and link to upstream bug report
Nasty bug :(.
2024-01-15 21:47:38 +08:00
Thomas Trepl
4647f824cf Automatic merge of trunk into multilib 2024-01-15 00:30:10 +01:00
Pierre Labastie
b8194e059c make default BASEDIR in public_html
that is:
- ~/public_html/lfs-book for sysv
- ~/public_html/lfs-systemd for systemd
2024-01-14 22:44:14 +01:00
Pierre Labastie
0432a3a1a8 Generate utf-8 for lfs-nochunks too
This involves:
- removing the <xsl:output ...> element from nochunks.xsl
- adding a sed for rmoving the invalid xmlns:xlink attribute
- removing the sed for "&copy;"
2024-01-14 22:36:12 +01:00
Pierre Labastie
855d0c9574 Remove an invalid attribute in longindex.html
For some reason, the stylesheets generate a
<div xmlns:xlink="http://www.w3.org/1999/xlink" ...> element in
longindex.html, but this is not valid in xhtml (the attribute
xmlns=xlink is not defined in the DTD). The problem is that tidy then
thinks it is not a true xhtml and removes the doctype declaration.
But when a browser receives a file without doctype declaration, it
thinks it uses an old standard, and switches to "quirks mode"
(for firefox, this can be seen by typing ctrl-I on the page).
2024-01-14 22:27:37 +01:00
Pierre Labastie
ec18a3872a Makefile: Set tabs to 3 spaces when editing with vi
This allows all editors to have the same settings...
2024-01-14 22:25:07 +01:00
Thomas Trepl
349012b17f Automatic merge of trunk into multilib 2023-11-24 00:30:19 +01:00
Pierre Labastie
1fdbce2c4e Generate utf-8 encoded html
This removes several problems with wrong encodings...
The sed for &copy; is not needed anymore
tidy.conf has to be changed to remove specification of latin1 as
input and output encodings.
2023-11-23 20:59:52 +01:00
Thomas Trepl
ea6fdf5c3b Automatic merge of trunk into multilib 2023-09-14 00:30:12 +02:00
Xi Ruoyao
c858ba4e17
build: Add "make dist"
For creating a tarball without .git directory easier.  The tarball will
include version.ent and LFS-RELEASE files so the book rendered from it
won't show "unknown" for all dates.
2023-09-13 14:10:38 +08:00
Thomas Trepl (Moody)
c093e6b9d5 Automatic merge of trunk into multilib 2022-10-02 00:30:12 +02:00
Pierre Labastie
cdc605303b Makefile: reinstate the dump-commands target 2022-09-18 08:29:18 +02:00
Pierre Labastie
99260fe3c9 Makefile: remove unneeded tabs 2022-09-18 08:27:58 +02:00
Thomas Trepl (Moody)
e15b03bf53 Merge upstream 2022-06-26 20:36:09 +02:00
Xi Ruoyao
ca22630e6a
provide revision-specific wget-list-$(REV) file
It's irrational to force a sysv builder to download systemd, or vice
versa.  But we cannot simply make wget-list specific for revision: IIRC
the wget-list file with all packages in either revision is used by some
scripts on rivendell.  So we keep wget-list as is, and provide a new
wget-list-$(REV) file which only contains the packages for one revision.
2022-06-21 15:22:27 +08:00
Thomas Trepl (Moody)
08a636839d Merge upstream 2021-10-15 12:21:18 +02:00
Pierre Labastie
4467b18d3f Add a conditional entity for sysv/systemd
This removes the need for versiond, and other xxxd entities. Those
entities will be removed in the next commits.
2021-09-22 23:11:52 +02:00
Thomas Trepl (Moody)
716db1f765 Merge upstream 2021-09-20 09:37:34 +02:00
Pierre Labastie
3781c69cbc Remove eol spaces 2021-09-07 23:10:29 +02:00
Thomas Trepl (Moody)
69d280f4ba Automatic merge of trunk into multilib 2021-08-22 05:45:22 +02:00
Pierre Labastie
df732b51c0 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:13:49 +02:00
Thomas Trepl (Moody)
adcb9c035c Automatic merge of trunk into multilib 2021-05-25 05:45:10 +02:00
Xi Ruoyao
6218cdb962
use https for anduin 2021-05-24 19:19:04 +08:00
Thomas Trepl (Moody)
0929ec5926 Merge branch 'trunk' into multilib 2021-04-06 23:14:24 +02:00
Xi Ruoyao
5948380997
automatically generate version info from git HEAD 2021-04-07 01:01:01 +08:00
Thomas Trepl
6dfcfecca3
Update to new lfs structure
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11986 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:39 +08:00
Thomas Trepl
c7e74d668b
MultiLib: Merge changes from trunk
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11783 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:37 +08:00
Thomas Trepl
b2c61c6500
MultiLib: Merge changes from trunk
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11630 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:35 +08:00
Thomas Trepl
fd48baafd5
Change profiling attribute to enable selection of m32 and/or mx32. Fixes #4452.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11571 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:34 +08:00
Thomas Trepl
b3f1ebb313
First apply of multilib-patch of April 1st, 2019
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11566 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:31 +08:00
Bruce Dubbs
675606bde2 Split Chapter 5 into three separate chapters.
Implement a new method of cross-building the LFS tool chain
and other tools to simplify the method of isolating the 
new system from the original host.  This will be the start of
LFS-10.0.

Move old trunk/BOOK to branches/old-trunk.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11946 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-16 11:56:28 +00:00
Bruce Dubbs
e0578b6050 Remove unused lines in Makefile
Fix spacing in util-linux



git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11936 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-13 23:03:37 +00:00
Bruce Dubbs
fcc027677d Initial commit of alternative cross LFS
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11897 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-07 20:16:00 +00:00
Pierre Labastie
6fb10045a9 Commit forgotten Makefile in previous commit
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11780 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-03-13 14:45:58 +00:00
Pierre Labastie
672ea43add Better beter fix for Makefile
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11775 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-03-03 16:52:05 +00:00
Bruce Dubbs
e4d1672389 A better fix for the Makefile nochunks
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11774 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-03-03 16:40:15 +00:00
Bruce Dubbs
85ce0fcaeb Ensure nochunks handles fixups properly
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11773 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-03-02 21:20:51 +00:00
Bruce Dubbs
43194f056d Convert bootscripts and udev tarballs to xz
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11628 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-06-30 19:25:49 +00:00