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
This commit is contained in:
Pierre Labastie 2023-01-12 15:54:01 +01:00
parent 6c4a91a874
commit a2f7a1c282

View File

@ -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)