mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-02 22:07:15 +08:00
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:
parent
6c4a91a874
commit
a2f7a1c282
19
Makefile
19
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)
|
||||
|
Loading…
Reference in New Issue
Block a user