From a2f7a1c282ae86f6311ea1a32dff085deacf3bd3 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Thu, 12 Jan 2023 15:54:01 +0100 Subject: [PATCH] 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 --- Makefile | 19 ++++++++++--------- 1 file 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 # 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)