Fix double definition, put ifeq at start of the line.

This commit is contained in:
W.C.A. Wijngaards 2014-02-04 09:57:25 +01:00
parent 0432d515bf
commit cead404fc6
1 changed files with 2 additions and 6 deletions

View File

@ -52,16 +52,13 @@ default: all
all: libgetdns.la
example:
cd example && $(MAKE) $@
install: libgetdns.la
$(INSTALL) -m 755 -d $(DESTDIR)$(includedir)
$(INSTALL) -m 755 -d $(DESTDIR)$(includedir)/getdns
$(INSTALL) -m 644 $(srcdir)/getdns/getdns.h $(DESTDIR)$(includedir)/getdns/getdns.h
ifeq ($(have_libevent),1)
ifeq ($(have_libevent),1)
$(INSTALL) -m 644 $(srcdir)/getdns/getdns_ext_libevent.h $(DESTDIR)$(includedir)/getdns/
endif
endif
$(INSTALL) -m 755 -d $(DESTDIR)$(libdir)
$(LIBTOOL) --mode=install cp libgetdns.la $(DESTDIR)$(libdir)
$(LIBTOOL) --mode=finish $(DESTDIR)$(libdir)
@ -79,7 +76,6 @@ test:
example:
cd example && $(MAKE) $@
clean:
cd test && $(MAKE) $@
cd example && $(MAKE) $@