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
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
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
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
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 "©"
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
Pierre Labastie
1fdbce2c4e
Generate utf-8 encoded html
...
This removes several problems with wrong encodings...
The sed for © 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
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
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
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
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
Pierre Labastie
3781c69cbc
Remove eol spaces
2021-09-07 23:10:29 +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
Xi Ruoyao
6218cdb962
use https for anduin
2021-05-24 19:19:04 +08:00
Xi Ruoyao
5948380997
automatically generate version info from git HEAD
2021-04-07 01:01:01 +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
Pierre Labastie
f0ba388aeb
Comment out the "dump-commands" target in Makefile
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11467 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2018-09-10 20:35:16 +00:00
Bruce Dubbs
d4407c732c
Disable deprecated mpx code in gcc
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11457 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2018-08-25 15:47:13 +00:00
Bruce Dubbs
16334b46d7
Tweak the Makefile
...
Minor change to mountfs boot script when stopping.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11455 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2018-08-21 19:53:49 +00:00
Pierre Labastie
855fda1e56
Makefile: for pdf rendering:
...
- fix the required disk space for LFS-Bootscripts (use lfs-full instead of lfs-html2)
- copy the images to RENDERTMP so that they appear in notes/warnings et al
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11385 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2018-03-16 16:38:24 +00:00
DJ Lucas
e8a2adc345
Fix image generation in PDF output.
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11372 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2018-02-18 03:55:42 +00:00
Bruce Dubbs
628860260f
Tweaking Makefile messages
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11098 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2016-07-22 17:19:55 +00:00
Bruce Dubbs
23a0f82a9b
Update to tzdata-2016f.
...
Add discussion of Grub Bios Partition.
Fix Makefile for proper total package size calculation.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11093 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2016-07-10 22:42:43 +00:00
Bruce Dubbs
1aff37ff77
Adjust Makefile so it honors passed variables better.
...
Add a small sed to e2fsprogs that allows test successes to
be properly identified.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/merge@11079 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2016-05-29 20:24:09 +00:00
Bruce Dubbs
cbd8bf0ff3
Updates after a successful jhalfs build
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/merge@11077 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2016-05-27 03:38:29 +00:00
Bruce Dubbs
35a5259fe6
Optimize building merged books
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/merge@11076 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2016-05-25 23:16:12 +00:00
Bruce Dubbs
188e34cbfe
Fix merged Makfile for pdf
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/merge@11075 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2016-05-25 03:08:35 +00:00
Bruce Dubbs
77ab7f35e9
Update Makefile for merged files" nochunks, md5sums, wget-list
...
Fix some formatting ant typos
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/merge@11074 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2016-05-25 02:51:36 +00:00
Bruce Dubbs
1118b1757d
Create branches/merge in svn repo fo rtesting of merged LFS books
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/merge@11073 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2016-05-24 21:24:59 +00:00
Bruce Dubbs
1c27a5344b
Update to tzdata-2015f.
...
Add a workaround to ncurses in Chapter 5 for hosts that have mawk installed.
Document some minor test failures.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10937 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2015-08-16 17:54:29 +00:00
Bruce Dubbs
5c3f304a8f
Adding some new png files to supoprt alternate css
...
Fix css validation for media='print' stylesheet
Add alternate css file
NO VISIBLE CHANGES FOR USERS
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10934 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2015-08-10 17:53:57 +00:00
Matthew Burgess
e679f0b4e0
Adjust link to md5sums download in nochunks output. Fixes #3427 .
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10375 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-11-19 21:48:09 +00:00
Matthew Burgess
15c7d39533
Update stylesheets to docbook-xsl-1.78.1.
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-10-08 20:03:29 +00:00
Bruce Dubbs
064222a4c6
Tweak dependencies for wget-list and md5sums
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10334 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-09-01 13:55:47 +00:00
Bruce Dubbs
22bcbddf04
Touch up Makefile
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10267 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-05-07 18:48:07 +00:00
Bruce Dubbs
ed480958a9
Update to automake-1.12.6 and linux-3.7.1
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10070 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2012-12-18 23:52:58 +00:00