summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2013-03-11 18:27:40 +0000
committererdgeist <>2013-03-11 18:27:40 +0000
commit7c1c685ddf90d86261ed91b2629aea88bca31e98 (patch)
tree94875052350f0b43a21cb3eed6d886d739208f8e
parent3ba18b4fc7acfd3f375f9e5123b9cecb20f8c221 (diff)
Add version and licensing information
-rw-r--r--Makefile2
-rw-r--r--jaildaemon.c5
2 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ef6a9b5..53a1bda 100644
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,10 @@ jaildaemon: jaildaemon.c
6 $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) 6 $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)
7 7
8install: jaildaemon 8install: jaildaemon
9 mkdir -p ${PREFIX}/man/man1/
9 install -o 0 -g 0 -m 0755 jaildaemon $(PREFIX)/bin 10 install -o 0 -g 0 -m 0755 jaildaemon $(PREFIX)/bin
10 install -o 0 -g 0 -m 0755 rc.d-jaildaemon $(PREFIX)/etc/rc.d/jaildaemon 11 install -o 0 -g 0 -m 0755 rc.d-jaildaemon $(PREFIX)/etc/rc.d/jaildaemon
12 install -o 0 -g 0 -m 0644 man1/jaildaemon.1 ${PREFIX}/man/man1/
11 13
12.PHONY: clean test 14.PHONY: clean test
13clean: 15clean:
diff --git a/jaildaemon.c b/jaildaemon.c
index 1c459c4..4b6c923 100644
--- a/jaildaemon.c
+++ b/jaildaemon.c
@@ -1,3 +1,8 @@
1/* This software was written by Dirk Engling <erdgeist@erdgeist.org>
2 It is considered beerware. Prost. Skol. Cheers or whatever.
3
4 $Id$ */
5
1#include <sys/socket.h> 6#include <sys/socket.h>
2#include <sys/un.h> 7#include <sys/un.h>
3#include <sys/types.h> 8#include <sys/types.h>