]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
install: remove liblldpctl previous symbolic link
authorVincent Bernat <bernat@luffy.cx>
Wed, 13 Feb 2013 07:35:18 +0000 (08:35 +0100)
committerVincent Bernat <bernat@luffy.cx>
Wed, 13 Feb 2013 07:35:18 +0000 (08:35 +0100)
Otherwise, we get an error on "make install".

src/client/Makefile.am

index cd2b4f97b41efaf62edd1bd12c82f812e9ff1c9a..66f4cfb024765caf38066583bbb076cc2c010193 100644 (file)
@@ -2,6 +2,7 @@ sbin_PROGRAMS = lldpcli
 dist_man_MANS = lldpcli.8 lldpctl.8
 
 install-exec-local: lldpcli
+       cd $(DESTDIR)$(sbindir) && rm -f lldpctl
        cd $(DESTDIR)$(sbindir) && $(LN_S) lldpcli lldpctl
 uninstall-local:
        cd $(DESTDIR)$(sbindir) && rm -f lldpctl