]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - pdns/Makefile.am
Merge pull request #13164 from fredmorcos/bindlexer-use-c++-header
[thirdparty/pdns.git] / pdns / Makefile.am
index 6f575dbe46b00fd1c8ce3049d776872915ab175f..eab26ffb3013484bc4213ece622f088809218042 100644 (file)
@@ -55,7 +55,7 @@ EXTRA_DIST = \
        dnsmessage.proto \
        mtasker.cc \
        inflighter.cc \
-       bindparser.h \
+       bindparser.hh \
        named.conf.parsertest \
        pdns.service.in \
        ixfrdist.service.in \
@@ -71,7 +71,7 @@ EXTRA_DIST = \
 
 BUILT_SOURCES = \
        bind-dnssec.schema.sqlite3.sql.h \
-       bindparser.h \
+       bindparser.hh \
        dnslabeltext.cc \
        apidocfiles.h
 
@@ -1681,11 +1681,7 @@ dnslabeltext.cc: dnslabeltext.rl
 bind-dnssec.schema.sqlite3.sql.h: bind-dnssec.schema.sqlite3.sql
        ( echo '#pragma once'; echo 'static char sqlCreate[] __attribute__((unused))=' ; sed 's/$$/"/g' $< | sed 's/^/"/g'  ; echo ';' ) > $@
 
-# for bindparser.h/hh
-.hh.h:
-       cp $< $@
-
-bindlexer.$(OBJEXT): bindparser.h
+bindlexer.$(OBJEXT): bindparser.hh
 
 pdns_recursor rec_control:
        @echo "Please build the recursor from the recursordist/ dir"