diff options
| author | Paul Buetow <paul@buetow.org> | 2013-07-26 09:06:12 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-07-26 09:06:12 +0200 |
| commit | 0150fd1b5e4e2e30c98eff9b0bc12cb9bd1363d8 (patch) | |
| tree | 6e9208e6d679e0b93295c36160561e2785789c36 | |
| parent | eeb9f1989048c12296c26f4f5c13493a702f547f (diff) | |
make all
| -rw-r--r-- | Makefile | 7 | ||||
| -rw-r--r-- | docs/cpuinfo.1 | 4 |
2 files changed, 6 insertions, 5 deletions
@@ -3,8 +3,9 @@ all: version documentation build # Builds the project. Since this is only a fake project, it just copies a script. build: - test ! -d ./bin && mkdir ./bin - cp -p ./src/$(NAME) ./bin/$(NAME) + test ! -d ./bin && mkdir ./bin || exit 0 + sed "s/VERSION/$$(cat .version)/" src/$(NAME) > ./bin/$(NAME) + chmod 755 ./bin/$(NAME) # 'install' installes a fake-root, which will be used to build the Debian package # $DESTDIR is actually set by the Debian tools. @@ -16,7 +17,7 @@ deinstall: test ! -z "$(DESTDIR)" && test -f $(DESTDIR)/usr/bin/$(NAME) && rm $(DESTDIR)/usr/bin/$(NAME) || exit 0 clean: - test -d ./bin && rm -Rf ./bin + test -d ./bin && rm -Rf ./bin || exit 0 # ADDITIONAL RULES: diff --git a/docs/cpuinfo.1 b/docs/cpuinfo.1 index 2ec3782..4ed0943 100644 --- a/docs/cpuinfo.1 +++ b/docs/cpuinfo.1 @@ -123,8 +123,8 @@ .rm #[ #] #H #V #F C .\" ======================================================================== .\" -.IX Title "CBARS 1" -.TH CBARS 1 "2013-07-21" "cpuinfo 0.0.0-develop" "User Commands" +.IX Title "CPUINFO 1" +.TH CPUINFO 1 "2013-07-26" "cpuinfo 0.0.0" "User Commands" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l |
