Don't build libtool stubby if installed directly

This commit is contained in:
Willem Toorop 2017-06-19 12:19:14 +02:00
parent 5e1cceca82
commit ac084db231
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ everything: default
default:
cd src && $(MAKE) $@
install: all getdns.pc getdns_ext_event.pc @INSTALL_GETDNS_QUERY@ @INSTALL_STUBBY@
install: default getdns.pc getdns_ext_event.pc @INSTALL_GETDNS_QUERY@ @INSTALL_STUBBY@
$(INSTALL) -m 755 -d $(DESTDIR)$(docdir)
$(INSTALL) -m 644 $(srcdir)/AUTHORS $(DESTDIR)$(docdir)
$(INSTALL) -m 644 $(srcdir)/ChangeLog $(DESTDIR)$(docdir)

View File

@ -86,7 +86,7 @@ uninstall-stubby:
$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(bindir)/stubby
clean:
rm -f *.o *.lo $(PROGRAMS)
rm -f *.o *.lo $(PROGRAMS) stubby
rm -rf .libs
distclean : clean