[med-svn] [hail] 03/06: Imported Upstream version 0.1.1
Kevin Murray
daube-guest at moszumanska.debian.org
Sat Jan 9 23:44:35 UTC 2016
This is an automated email from the git hooks/post-receive script.
daube-guest pushed a commit to branch master
in repository hail.
commit 00e6eff52e2567e203b5764908afe60600e509a3
Author: Kevin Murray <spam at kdmurray.id.au>
Date: Sun Jan 10 10:32:56 2016 +1100
Imported Upstream version 0.1.1
---
Makefile | 8 +++-----
hail.c | 2 +-
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index 09b4197..b094edb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,15 @@
CC ?= gcc
-CFLAGS +=-O3 -std=gnu99
+CFLAGS += -O3 -std=gnu99
PREFIX ?= $(HOME)
-all: hail
-
hail: hail.c
$(CC) $(CFLAGS) -o $@ $<
install: hail hail.1
mkdir -p $(PREFIX)/bin
- mkdir -p $(PREFIX)/man/man1
+ mkdir -p $(PREFIX)/share/man/man1
cp hail $(PREFIX)/bin
- cp hail.1 $(PREFIX)/man/man1
+ cp hail.1 $(PREFIX)/share/man/man1
clean:
rm -f hail
diff --git a/hail.c b/hail.c
index 0d010f0..9f15a41 100644
--- a/hail.c
+++ b/hail.c
@@ -43,8 +43,8 @@ main(int argc, const char **argv)
/* we expect at least one value, so error out if we don't have one. */
if (res < 1) {
putchar('\n');
- usage();
fflush(stdout);
+ usage();
free(buf);
return EXIT_FAILURE ;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/hail.git
More information about the debian-med-commit
mailing list