diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | jaildaemon.c | 5 |
2 files changed, 7 insertions, 0 deletions
@@ -6,8 +6,10 @@ jaildaemon: jaildaemon.c | |||
6 | $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) | 6 | $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) |
7 | 7 | ||
8 | install: jaildaemon | 8 | install: 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 |
13 | clean: | 15 | clean: |
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> |