summaryrefslogtreecommitdiffstats
path: root/doc/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'doc/pkg')
-rw-r--r--doc/pkg/basic-expat.mdwn50
1 files changed, 25 insertions, 25 deletions
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