]> git.meshlink.io Git - catta/blobdiff - initscript/lfs/Makefile.am
fix avahi_netlink_new to allow multiple netlinks per process
[catta] / initscript / lfs / Makefile.am
index d5e33f8c1be8d1522fd0395d265078c7c0c36af0..ed8dcb8a5db72934924a07f65812d5c56e743612 100644 (file)
@@ -1,5 +1,3 @@
-# $Id$
-
 # This file is part of avahi.
 #
 # avahi is free software; you can redistribute it and/or modify it
@@ -26,4 +24,8 @@ initd_SCRIPTS = avahi
 CLEANFILES = avahi
 
 avahi: avahi.in
+       $(AM_V_GEN)sed \
+               -e 's,@sbindir\@,$(sbindir),g' \
+               -e 's,@localstatedir\@,$(localstatedir),g' \
+               $< > $@ && \
        chmod +x $@