sgwdynspeed: install configuration files under ETCDIR
authorFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 31 Jul 2013 13:01:31 +0000 (15:01 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 31 Jul 2013 13:28:35 +0000 (15:28 +0200)
Now that we changed ETCDIR to /etc/olsrd/

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/sgwdynspeed/Makefile

index 4fce5ed..3b54085 100644 (file)
@@ -43,14 +43,14 @@ endif
 
 install: all
        $(INSTALL_LIB)
-       mkdir -p "$(DOCDIR_OLSRD)"
-       cp "$(RESOURCESDIR)/olsrd.sgw.speed.conf" "$(DOCDIR_OLSRD)"
+       mkdir -p "$(ETCDIR)"
+       cp "$(RESOURCESDIR)/olsrd.sgw.speed.conf" "$(ETCDIR)"
        $(STRIP) "$(LIBDIR)/$(PLUGIN_FULLNAME)"
 
 uninstall:
-       rm -f "$(LIBDIR)/lib$(PLUGIN_NAME).so" "$(LIBDIR)/$(PLUGIN_NAME)" "$(DOCDIR_OLSRD)/olsrd.sgw.speed.conf"
+       rm -f "$(LIBDIR)/lib$(PLUGIN_NAME).so" "$(LIBDIR)/$(PLUGIN_NAME)" "$(ETCDIR)/olsrd.sgw.speed.conf"
        $(UNINSTALL_LIB)
-       rmdir -v -p --ignore-fail-on-non-empty "$(LIBDIR)" "$(DOCDIR_OLSRD)"
+       rmdir -v -p --ignore-fail-on-non-empty "$(LIBDIR)" "$(ETCDIR)"
 
 clean:
 ifeq ($(VERBOSE),0)