]> granicus.if.org Git - pdns/commitdiff
fix bindbackend build with new automake versions
authorStefan Bühler <stbuehler@web.de>
Tue, 19 Nov 2013 11:50:18 +0000 (12:50 +0100)
committerStefan Bühler <stbuehler@web.de>
Tue, 19 Nov 2013 11:51:49 +0000 (12:51 +0100)
  new automake versions generate .hh from .yy with yacc,
  older versions generate .h

  copy the .hh -> .h rule from pdns/Makefile.am

modules/bindbackend/Makefile.am

index bedfd5029b7e9d91e4bc379a4e8b6007d9a0bee8..5686f03770bd135aae90aa3bc01f7905268cb197 100644 (file)
@@ -14,3 +14,7 @@ libbindbackend_la_LDFLAGS=-module -avoid-version
 
 ../../pdns/bind-dnssec.schema.sqlite3.sql.h: ../../pdns/bind-dnssec.schema.sqlite3.sql
        ( echo 'static char sqlCreate[] __attribute__((unused))=' ; sed 's/$$/"/g' ../../pdns/bind-dnssec.schema.sqlite3.sql | sed 's/^/"/g'  ; echo ';' ) > $@
+
+# for bindparser.h/hh
+.hh.h:
+       cp $< $@