# See the file LICENSE for the license
SHELL = @SHELL@
srcdir = @srcdir@
+basesrcdir = $(shell basename `pwd`)
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
ranlib libldns.a
snapshot: clean testclean
+ echo $(basesrcdir)
(rm -rf ../ldns-snap-$(DATE)/)
- (cd .. ; cp -r libdns/ ldns-snap-$(DATE)/)
+ (cd .. ; cp -r $(basesrcdir)/ ldns-snap-$(DATE)/)
(cd .. ; tar --verbose --exclude ".svn" --create --file ldns-snap-$(DATE).tar.gz --gzip ldns-snap-$(DATE)/)
(rm -rf ../ldns-snap-$(DATE)/)
}
}
- if (ldns_pkt_ancount(p) == 0 & ldns_pkt_nscount(p) > 0) {
+ if (ldns_pkt_ancount(p) == 0 && ldns_pkt_nscount(p) > 0) {
if (ldns_pkt_rr_list_by_type(p, LDNS_RR_TYPE_NS,
LDNS_SECTION_AUTHORITY)) {
/* there are nameservers here */