summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-01-23 01:25:45 +0000
committerLennart Poettering <lennart@poettering.net>2006-01-23 01:25:45 +0000
commit1aeb6c62d3d2bfb80a8bfe712d4c4f1fcba2a5f2 (patch)
tree7165b2380d1db0777e61416e7ac58a98e49f160e /src
parent6589e74aea4f042b9cc16c5bb1b78cebb371b016 (diff)
minor cleanups
git-svn-id: file:///home/lennart/svn/public/mod_dnssd/trunk@32 634eccf8-0006-0410-930e-e16565b0b7de
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in17
-rw-r--r--src/mod_dnssd.c1
2 files changed, 15 insertions, 3 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 85b9694..fd99c17 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -1,5 +1,19 @@
# $Id$
+# Copyright 2006 Lennart Poettering
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you
+# may not use this file except in compliance with the License. You
+# may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied. See the License for the specific language governing
+# permissions and limitations under the License.
+
APXS=@APXS@
APACHECTL=@APACHECTL@
LIBS=-Wl,"@LIBS@" @AVAHI_LIBS@
@@ -10,7 +24,7 @@ all: mod_dnssd.la
mod_dnssd.la: @srcdir@/mod_dnssd.c
$(APXS) -c $(CFLAGS) $(LIBS) @srcdir@/mod_dnssd.c
-install: mod_dnssd.la
+install: all
$(APXS) -i -a mod_dnssd.la
clean:
@@ -35,5 +49,4 @@ maintainer-clean: clean
Makefile: @srcdir@/Makefile.in
(cd .. && ./config.status )
-
.PHONY: all install clean reload start restart stop mostlyclean distclean maintainer-clean distdir
diff --git a/src/mod_dnssd.c b/src/mod_dnssd.c
index 2075926..b6fcc66 100644
--- a/src/mod_dnssd.c
+++ b/src/mod_dnssd.c
@@ -811,7 +811,6 @@ static const command_rec commands[] = {
NULL,
OR_OPTIONS,
"Set the IP port this service should be accessed with."),
-
{ NULL }
};