From eaf9bd8d87e9a3e0c99680909cfce0ec65219f6b Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 02 Sep 2014 11:37:24 -0400 Subject: doc/pkg/basic-expat: Expand tabs in code --- (limited to 'doc/pkg') diff --git a/doc/pkg/basic-expat.mdwn b/doc/pkg/basic-expat.mdwn index e59e747..85dbd5b 100644 --- a/doc/pkg/basic-expat.mdwn +++ b/doc/pkg/basic-expat.mdwn @@ -143,7 +143,7 @@ So begin writing `build` as follows: #!/usr/bin/make -f nop: - @: + @: Note that, due to makefile syntax, the line after `nop:` must begin with a tab character. This line is called a "command line" in makefile syntax. The [`:` @@ -190,12 +190,12 @@ look like this: #!/usr/bin/make -f nop: - @: + @: build: - oh-autoconfigure - oh-autobuild - touch $@ + oh-autoconfigure + oh-autobuild + touch $@ Read the manual pages and/or source code of **oh-autoconfigure**(1) and **oh-autobuild**(1) to learn more about what they do. @@ -230,15 +230,15 @@ look like this: #!/usr/bin/make -f nop: - @: + @: build: - oh-autoconfigure - oh-autobuild - touch $@ + oh-autoconfigure + oh-autobuild + touch $@ install: build - oh-autoinstall + oh-autoinstall The `install` target is declared as depending on the `build` target: @@ -426,16 +426,16 @@ With these pathname patterns done, we can add **oh-installfiles**(1) to our #!/usr/bin/make -f nop: - @: + @: build: - oh-autoconfigure - oh-autobuild - touch $@ + oh-autoconfigure + oh-autobuild + touch $@ install: build - oh-autoinstall - oh-installfiles + oh-autoinstall + oh-installfiles Now run **opkbuild**(1) again: @@ -513,19 +513,19 @@ So our `build` makefile should now look like this: #!/usr/bin/make -f nop: - @: + @: build: - oh-autoconfigure - oh-autobuild - touch $@ + oh-autoconfigure + oh-autobuild + touch $@ install: build - oh-autoinstall - rm -f 'dest/usr/lib/$(OPK_HOST_ARCH)/libexpat.la' - oh-fixperms - oh-strip - oh-installfiles + oh-autoinstall + rm -f 'dest/usr/lib/$(OPK_HOST_ARCH)/libexpat.la' + oh-fixperms + oh-strip + oh-installfiles [spf-binpkg.pkg]: http://specs.proteanos.com/spf-2.0/overview.html#files-binpkg.pkg [spf-fields-bin]: http://specs.proteanos.com/spf-2.0/fields.html#fields-src -- cgit v0.9.1