aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPierre Labastie <pierre.labastie@neuf.fr>2023-01-12 15:54:01 +0100
committerPierre Labastie <pierre.labastie@neuf.fr>2023-01-12 15:54:01 +0100
commita2f7a1c282ae86f6311ea1a32dff085deacf3bd3 (patch)
treef0e0cd442017faf9abfa9c861464886900e46be8 /Makefile
parent6c4a91a8741d864df307e14e3cab085947046ed0 (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 44b453ca76..c1c76cf503 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,4 @@
+# vim:ts=3
# Makefile for BLFS Book generation.
# By Tushar Teredesai <tushar@linuxfromscratch.org>
# 2004-01-31
@@ -165,7 +166,7 @@ $(RENDERTMP)/$(BLFSFULL): $(PYHOSTED) version.ent
@echo "Adjusting for revision $(REV)..."
$(Q)xsltproc --nonet \
--xinclude \
- --output $(RENDERTMP)/$(BLFSHTML2) \
+ --output $(RENDERTMP)/$(BLFSHTML2) \
--stringparam profile.revision $(REV) \
stylesheets/lfs-xsl/profile.xsl \
index.xml
@@ -174,7 +175,7 @@ $(RENDERTMP)/$(BLFSFULL): $(PYHOSTED) version.ent
$(Q)xmllint --nonet \
--noent \
--postvalid \
- --output $(RENDERTMP)/$(BLFSFULL) \
+ --output $(RENDERTMP)/$(BLFSFULL) \
$(RENDERTMP)/$(BLFSHTML2)
profile-html: $(RENDERTMP)/$(BLFSHTML)
@@ -182,7 +183,7 @@ $(RENDERTMP)/$(BLFSHTML): $(RENDERTMP)/$(BLFSFULL)
@echo "Generating profiled XML for XHTML..."
$(Q)xsltproc --nonet \
--stringparam profile.condition html \
- --output $(RENDERTMP)/$(BLFSHTML) \
+ --output $(RENDERTMP)/$(BLFSHTML) \
stylesheets/lfs-xsl/profile.xsl \
$(RENDERTMP)/$(BLFSFULL)
@@ -251,12 +252,12 @@ bootscripts:
systemd-units:
@VERSION=`grep "systemd-units-version " general.ent | cut -d\" -f2`; \
- UNITS="blfs-systemd-units-$$VERSION"; \
- if [ ! -e $$UNITS.tar.xz ]; then \
- rm -rf $(RENDERTMP)/$$UNITS; \
- mkdir $(RENDERTMP)/$$UNITS; \
- cp -a ../systemd-units/* $(RENDERTMP)/$$UNITS; \
- tar -cJhf $$UNITS.tar.xz -C $(RENDERTMP) $$UNITS; \
+ UNITS="blfs-systemd-units-$$VERSION"; \
+ if [ ! -e $$UNITS.tar.xz ]; then \
+ rm -rf $(RENDERTMP)/$$UNITS; \
+ mkdir $(RENDERTMP)/$$UNITS; \
+ cp -a ../systemd-units/* $(RENDERTMP)/$$UNITS; \
+ tar -cJhf $$UNITS.tar.xz -C $(RENDERTMP) $$UNITS; \
fi
dump-commands: $(DUMPDIR)