]> granicus.if.org Git - pdns/commitdiff
Move the /pdns/docs folder to /docs
authorPieter Lexis <pieter@plexis.eu>
Tue, 2 Dec 2014 07:45:53 +0000 (08:45 +0100)
committerPieter Lexis <pieter@plexis.eu>
Mon, 29 Dec 2014 11:18:56 +0000 (12:18 +0100)
109 files changed:
Makefile.am
configure.ac
debian/rules
docs/.gitignore [moved from pdns/docs/.gitignore with 100% similarity]
docs/Dockerfile [moved from pdns/docs/Dockerfile with 100% similarity]
docs/Makefile.am [moved from pdns/docs/Makefile.am with 100% similarity]
docs/WIP/.gitkeep [moved from pdns/docs/WIP/.gitkeep with 100% similarity]
docs/WIP/alias.md [moved from pdns/docs/WIP/alias.md with 100% similarity]
docs/WIP/web-api.md [moved from pdns/docs/WIP/web-api.md with 100% similarity]
docs/extract.cc [moved from pdns/docs/extract.cc with 100% similarity]
docs/make-thanks [moved from pdns/docs/make-thanks with 100% similarity]
docs/manpages/dnsdist.1.md [moved from pdns/docs/manpages/dnsdist.1.md with 100% similarity]
docs/manpages/dnsreplay.1.md [moved from pdns/docs/manpages/dnsreplay.1.md with 100% similarity]
docs/manpages/dnsscope.1.md [moved from pdns/docs/manpages/dnsscope.1.md with 100% similarity]
docs/manpages/dnstcpbench.1.md [moved from pdns/docs/manpages/dnstcpbench.1.md with 100% similarity]
docs/manpages/dnswasher.1.md [moved from pdns/docs/manpages/dnswasher.1.md with 100% similarity]
docs/manpages/pdns_control.1.md [moved from pdns/docs/manpages/pdns_control.1.md with 100% similarity]
docs/manpages/pdns_recursor.1.md [moved from pdns/docs/manpages/pdns_recursor.1.md with 100% similarity]
docs/manpages/pdns_server.1.md [moved from pdns/docs/manpages/pdns_server.1.md with 100% similarity]
docs/manpages/pdnssec.1.md [moved from pdns/docs/manpages/pdnssec.1.md with 100% similarity]
docs/manpages/rec_control.1.md [moved from pdns/docs/manpages/rec_control.1.md with 100% similarity]
docs/manpages/zone2ldap.1.md [moved from pdns/docs/manpages/zone2ldap.1.md with 100% similarity]
docs/manpages/zone2sql.1.md [moved from pdns/docs/manpages/zone2sql.1.md with 100% similarity]
docs/markdown/appendix/backend-writers-guide.md [moved from pdns/docs/markdown/appendix/backend-writers-guide.md with 100% similarity]
docs/markdown/appendix/compiling-powerdns.md [moved from pdns/docs/markdown/appendix/compiling-powerdns.md with 100% similarity]
docs/markdown/appendix/crypto-notes-export.md [moved from pdns/docs/markdown/appendix/crypto-notes-export.md with 100% similarity]
docs/markdown/appendix/documentation.md [moved from pdns/docs/markdown/appendix/documentation.md with 81% similarity]
docs/markdown/authoritative/backend-bind.md [moved from pdns/docs/markdown/authoritative/backend-bind.md with 100% similarity]
docs/markdown/authoritative/backend-deprecated.md [moved from pdns/docs/markdown/authoritative/backend-deprecated.md with 100% similarity]
docs/markdown/authoritative/backend-generic-mypgsql.md [moved from pdns/docs/markdown/authoritative/backend-generic-mypgsql.md with 99% similarity]
docs/markdown/authoritative/backend-geo.md [moved from pdns/docs/markdown/authoritative/backend-geo.md with 100% similarity]
docs/markdown/authoritative/backend-geoip.md [moved from pdns/docs/markdown/authoritative/backend-geoip.md with 100% similarity]
docs/markdown/authoritative/backend-gsqlite.md [moved from pdns/docs/markdown/authoritative/backend-gsqlite.md with 98% similarity]
docs/markdown/authoritative/backend-ldap.md [moved from pdns/docs/markdown/authoritative/backend-ldap.md with 100% similarity]
docs/markdown/authoritative/backend-lmdb.md [moved from pdns/docs/markdown/authoritative/backend-lmdb.md with 100% similarity]
docs/markdown/authoritative/backend-lua.md [moved from pdns/docs/markdown/authoritative/backend-lua.md with 100% similarity]
docs/markdown/authoritative/backend-oracle.md [moved from pdns/docs/markdown/authoritative/backend-oracle.md with 100% similarity]
docs/markdown/authoritative/backend-pipe.md [moved from pdns/docs/markdown/authoritative/backend-pipe.md with 99% similarity]
docs/markdown/authoritative/backend-random.md [moved from pdns/docs/markdown/authoritative/backend-random.md with 100% similarity]
docs/markdown/authoritative/backend-remote.md [moved from pdns/docs/markdown/authoritative/backend-remote.md with 100% similarity]
docs/markdown/authoritative/backend-tinydns.md [moved from pdns/docs/markdown/authoritative/backend-tinydns.md with 100% similarity]
docs/markdown/authoritative/dnssec.md [moved from pdns/docs/markdown/authoritative/dnssec.md with 100% similarity]
docs/markdown/authoritative/dnsupdate.md [moved from pdns/docs/markdown/authoritative/dnsupdate.md with 100% similarity]
docs/markdown/authoritative/domainmetadata.md [moved from pdns/docs/markdown/authoritative/domainmetadata.md with 100% similarity]
docs/markdown/authoritative/index.md [moved from pdns/docs/markdown/authoritative/index.md with 100% similarity]
docs/markdown/authoritative/installation.md [moved from pdns/docs/markdown/authoritative/installation.md with 99% similarity]
docs/markdown/authoritative/internals.md [moved from pdns/docs/markdown/authoritative/internals.md with 100% similarity]
docs/markdown/authoritative/migration.md [moved from pdns/docs/markdown/authoritative/migration.md with 100% similarity]
docs/markdown/authoritative/modes-of-operation.md [moved from pdns/docs/markdown/authoritative/modes-of-operation.md with 100% similarity]
docs/markdown/authoritative/performance.md [moved from pdns/docs/markdown/authoritative/performance.md with 100% similarity]
docs/markdown/authoritative/recursion.md [moved from pdns/docs/markdown/authoritative/recursion.md with 100% similarity]
docs/markdown/authoritative/settings.md [moved from pdns/docs/markdown/authoritative/settings.md with 100% similarity]
docs/markdown/authoritative/upgrading.md [moved from pdns/docs/markdown/authoritative/upgrading.md with 96% similarity]
docs/markdown/authoritative/virtual.md [moved from pdns/docs/markdown/authoritative/virtual.md with 100% similarity]
docs/markdown/changelog.md [moved from pdns/docs/markdown/changelog.md with 100% similarity]
docs/markdown/common/logging.md [moved from pdns/docs/markdown/common/logging.md with 100% similarity]
docs/markdown/common/security.md [moved from pdns/docs/markdown/common/security.md with 99% similarity]
docs/markdown/common/support.md [moved from pdns/docs/markdown/common/support.md with 100% similarity]
docs/markdown/httpapi/README.md [moved from pdns/docs/markdown/httpapi/README.md with 100% similarity]
docs/markdown/httpapi/api_spec.md [moved from pdns/docs/markdown/httpapi/api_spec.md with 100% similarity]
docs/markdown/httpapi/features.md [moved from pdns/docs/markdown/httpapi/features.md with 100% similarity]
docs/markdown/httpapi/intro.md [moved from pdns/docs/markdown/httpapi/intro.md with 100% similarity]
docs/markdown/index.md [moved from pdns/docs/markdown/index.md with 100% similarity]
docs/markdown/process-includes.py [moved from pdns/docs/markdown/process-includes.py with 100% similarity]
docs/markdown/recursor/dns64.md [moved from pdns/docs/markdown/recursor/dns64.md with 100% similarity]
docs/markdown/recursor/index.md [moved from pdns/docs/markdown/recursor/index.md with 100% similarity]
docs/markdown/recursor/internals.md [moved from pdns/docs/markdown/recursor/internals.md with 100% similarity]
docs/markdown/recursor/performance.md [moved from pdns/docs/markdown/recursor/performance.md with 100% similarity]
docs/markdown/recursor/running.md [moved from pdns/docs/markdown/recursor/running.md with 100% similarity]
docs/markdown/recursor/scripting.md [moved from pdns/docs/markdown/recursor/scripting.md with 100% similarity]
docs/markdown/recursor/security.md [moved from pdns/docs/markdown/recursor/security.md with 100% similarity]
docs/markdown/recursor/settings.md [moved from pdns/docs/markdown/recursor/settings.md with 100% similarity]
docs/markdown/recursor/stats.md [moved from pdns/docs/markdown/recursor/stats.md with 100% similarity]
docs/markdown/security/index.md [moved from pdns/docs/markdown/security/index.md with 100% similarity]
docs/markdown/security/powerdns-advisory-2006-01.md [moved from pdns/docs/markdown/security/powerdns-advisory-2006-01.md with 100% similarity]
docs/markdown/security/powerdns-advisory-2006-02.md [moved from pdns/docs/markdown/security/powerdns-advisory-2006-02.md with 100% similarity]
docs/markdown/security/powerdns-advisory-2008-01.md [moved from pdns/docs/markdown/security/powerdns-advisory-2008-01.md with 100% similarity]
docs/markdown/security/powerdns-advisory-2008-02.md [moved from pdns/docs/markdown/security/powerdns-advisory-2008-02.md with 100% similarity]
docs/markdown/security/powerdns-advisory-2008-03.md [moved from pdns/docs/markdown/security/powerdns-advisory-2008-03.md with 100% similarity]
docs/markdown/security/powerdns-advisory-2010-01.md [moved from pdns/docs/markdown/security/powerdns-advisory-2010-01.md with 100% similarity]
docs/markdown/security/powerdns-advisory-2010-02.md [moved from pdns/docs/markdown/security/powerdns-advisory-2010-02.md with 100% similarity]
docs/markdown/security/powerdns-advisory-2012-01.md [moved from pdns/docs/markdown/security/powerdns-advisory-2012-01.md with 100% similarity]
docs/markdown/security/powerdns-advisory-2014-01.md [moved from pdns/docs/markdown/security/powerdns-advisory-2014-01.md with 100% similarity]
docs/markdown/security/powerdns-advisory-2014-02.md [moved from pdns/docs/markdown/security/powerdns-advisory-2014-02.md with 100% similarity]
docs/markdown/theme/base.html [moved from pdns/docs/markdown/theme/base.html with 100% similarity]
docs/markdown/theme/content.html [moved from pdns/docs/markdown/theme/content.html with 100% similarity]
docs/markdown/theme/css/base.css [moved from pdns/docs/markdown/theme/css/base.css with 100% similarity]
docs/markdown/theme/css/bootstrap-custom.min.css [moved from pdns/docs/markdown/theme/css/bootstrap-custom.min.css with 100% similarity]
docs/markdown/theme/css/font-awesome-4.0.3.css [moved from pdns/docs/markdown/theme/css/font-awesome-4.0.3.css with 100% similarity]
docs/markdown/theme/css/prettify-1.0.css [moved from pdns/docs/markdown/theme/css/prettify-1.0.css with 100% similarity]
docs/markdown/theme/fonts/fontawesome-webfont.eot [moved from pdns/docs/markdown/theme/fonts/fontawesome-webfont.eot with 100% similarity]
docs/markdown/theme/fonts/fontawesome-webfont.svg [moved from pdns/docs/markdown/theme/fonts/fontawesome-webfont.svg with 100% similarity]
docs/markdown/theme/fonts/fontawesome-webfont.ttf [moved from pdns/docs/markdown/theme/fonts/fontawesome-webfont.ttf with 100% similarity]
docs/markdown/theme/fonts/fontawesome-webfont.woff [moved from pdns/docs/markdown/theme/fonts/fontawesome-webfont.woff with 100% similarity]
docs/markdown/theme/footer.html [moved from pdns/docs/markdown/theme/footer.html with 100% similarity]
docs/markdown/theme/img/favicon.ico [moved from pdns/docs/markdown/theme/img/favicon.ico with 100% similarity]
docs/markdown/theme/js/base.js [moved from pdns/docs/markdown/theme/js/base.js with 100% similarity]
docs/markdown/theme/js/bootstrap-3.0.3.min.js [moved from pdns/docs/markdown/theme/js/bootstrap-3.0.3.min.js with 100% similarity]
docs/markdown/theme/js/prettify-1.0.min.js [moved from pdns/docs/markdown/theme/js/prettify-1.0.min.js with 100% similarity]
docs/markdown/theme/nav.html [moved from pdns/docs/markdown/theme/nav.html with 100% similarity]
docs/markdown/theme/toc.html [moved from pdns/docs/markdown/theme/toc.html with 100% similarity]
docs/markdown/tools/analysis.md [moved from pdns/docs/markdown/tools/analysis.md with 100% similarity]
docs/markdown/types.md [moved from pdns/docs/markdown/types.md with 100% similarity]
docs/mkdocs.yml [moved from pdns/docs/mkdocs.yml with 100% similarity]
docs/process-md.sh [moved from pdns/docs/process-md.sh with 100% similarity]
docs/secpoll.zone [moved from pdns/docs/secpoll.zone with 100% similarity]
m4/pdns_check_mkdocs.m4
m4/pdns_check_pandoc.m4
pdns/dist-recursor

index 38fd09771f3a795c01fa4dcb0775448b8b9e5635..4a09c632b4b5fe7d86ba593c43e3417fe917fc28 100644 (file)
@@ -1,4 +1,4 @@
-SUBDIRS = modules codedocs pdns/docs
+SUBDIRS = modules codedocs docs
 
 if WITH_PDNS_SERVER
   SUBDIRS += pdns
index 29894fbf87234bd9b653e07d2ef7b1956b9478d3..5e4bc0b43ac8ec5ab82b90124400c331d63cd497 100644 (file)
@@ -338,8 +338,8 @@ AC_CONFIG_FILES([
   modules/Makefile
   pdns/Makefile
   codedocs/Makefile
+  docs/Makefile
   pdns/pdns.init
-  pdns/docs/Makefile
   pdns/ext/Makefile
   pdns/ext/yahttp/Makefile
   pdns/ext/yahttp/yahttp/Makefile
index 127f2f7dd2da37b4d46c9da40e0ad2bb0a9280b5..cb66c05441d1ee9f46228638c38437f8a35ccbae 100755 (executable)
@@ -106,7 +106,7 @@ binary-static: stamp-build-static binary-main-prepare
 
 clean:
        -make distclean
-       -make -C pdns/docs clean
+       -make -C docs clean
        rm -f debian/files debian/substvars stamp-build stamp-build-static
        rm -rf "$(tmpdir)"
 
similarity index 100%
rename from pdns/docs/.gitignore
rename to docs/.gitignore
similarity index 100%
rename from pdns/docs/Dockerfile
rename to docs/Dockerfile
similarity index 100%
rename from pdns/docs/Makefile.am
rename to docs/Makefile.am
similarity index 100%
rename from pdns/docs/WIP/.gitkeep
rename to docs/WIP/.gitkeep
similarity index 100%
rename from pdns/docs/WIP/alias.md
rename to docs/WIP/alias.md
similarity index 100%
rename from pdns/docs/WIP/web-api.md
rename to docs/WIP/web-api.md
similarity index 100%
rename from pdns/docs/extract.cc
rename to docs/extract.cc
similarity index 100%
rename from pdns/docs/make-thanks
rename to docs/make-thanks
similarity index 81%
rename from pdns/docs/markdown/appendix/documentation.md
rename to docs/markdown/appendix/documentation.md
index 26fdf171c5e85f850957193e06c54ea29e055a3a..08f7b37f98fb61a90e0581ec66ab545d23a03b21 100644 (file)
@@ -4,7 +4,7 @@ Pieter Lexis contributed a Markdown conversion, which is the basis of the curren
 
 If you note an issue with the new documentation, please open a ticket on
 [GitHub](https://github.com/powerdns/pdns/issues) and tell us about it. Or, even
-better, fork our repo, and edit the files in pdns/docs/markdown to improve things.
+better, fork our repo, and edit the files in docs/markdown to improve things.
 
 If your change is simple (say, a typo or a new paragraph), you can do all this 
 entirely from GitHub. Simply fork PowerDNS, find the Markdown file you want to change, 
@@ -16,11 +16,10 @@ with the required packages to build the documentation.
 [Virtualenvwrapper](http://virtualenvwrapper.readthedocs.org/en/latest/) can be
 used to easily create and use a virtualenv.
 
-Once you're in a virtualenv, `pip install mkdocs==0.11.1 pandocfilters==1.2.3
-pandoc==1.0.0-alpha.3`.
+Once you're in a virtualenv, `pip install mkdocs==0.11.1 pandocfilters==1.2.3`.
 
-To test-build the documentation, `make html-new/index.html` in the pdns/docs
-directory will build the documentation into `html-new/`.
+To test-build the documentation, `make html/index.html` in the docs
+directory will build the documentation into `html/`.
 
 To test your changes live, use `mkdocs serve --dev-addr=0.0.0.0:8000`, and the
 new version of your documentation will appear on port 8000 of your machine.
similarity index 99%
rename from pdns/docs/markdown/authoritative/backend-generic-mypgsql.md
rename to docs/markdown/authoritative/backend-generic-mypgsql.md
index fcd17f55400e26e033dd2efbe07a35efacc3b9eb..e518fe55e797e6d22f98815dd6c73d896df2ab87 100644 (file)
@@ -31,7 +31,7 @@ In practice, great results are achieved with the 'InnoDB' tables. PowerDNS will
 The default setup conforms to the following schema:
 
 ```
-!!include=../../modules/gmysqlbackend/schema.mysql.sql
+!!include=../modules/gmysqlbackend/schema.mysql.sql
 ```
 
 `zone2sql` with the `--gmysql` flag also assumes this layout is in place.
@@ -61,7 +61,7 @@ This automates deletion of records on deletion of a domain from the domains tabl
 The default setup conforms to the following schema, which you should add to a PostgreSQL database.
 
 ```
-!!include=../../modules/gpgsqlbackend/schema.pgsql.sql
+!!include=../modules/gpgsqlbackend/schema.pgsql.sql
 ```
 
 `zone2sql` with the `--gpgsql` flag also assumes this layout is in place.
@@ -76,7 +76,7 @@ With PostgreSQL, you may have to run `createdb powerdns` first and then connect
 Generic Oracle support is only available since version 2.9.18. The default setup conforms to the following schema, which you should add to an Oracle database. You may need or want to add `namespace` statements.
 
 ```
-!!include=../../modules/gpgsqlbackend/schema.pgsql.sql
+!!include=../modules/gpgsqlbackend/schema.pgsql.sql
 ```
 
 This schema contains all elements needed for master, slave and superslave operation.
similarity index 98%
rename from pdns/docs/markdown/authoritative/backend-gsqlite.md
rename to docs/markdown/authoritative/backend-gsqlite.md
index 17cd7713df27e0ec3627c69e64be6fdcfa989add..015d3e6c73e87bd6b55404a808cfb0dc83610494 100644 (file)
@@ -30,7 +30,7 @@ SQLite is included in most PowerDNS binary releases.
 Before you can use this backend you first have to set it up and fill it with data. The default setup conforms to the following schema:
 
 ```
-!!include=../../modules/gsqlite3backend/schema.sqlite3.sql
+!!include=../modules/gsqlite3backend/schema.sqlite3.sql
 ```
 
 This schema contains all elements needed for master, slave and superslave operation.
similarity index 99%
rename from pdns/docs/markdown/authoritative/backend-pipe.md
rename to docs/markdown/authoritative/backend-pipe.md
index 3933337f00d149df7741d5dc126d8544d7a020da..893f3d05f4dc5ced7e9246cf494965dc46015ac8 100644 (file)
@@ -172,5 +172,5 @@ For api-versions 1 and 2, the two new fields fall back to default values. The de
 
 ## Sample perl backend
 ```
-!!include=../../modules/pipebackend/backend.pl
+!!include=../modules/pipebackend/backend.pl
 ```
similarity index 99%
rename from pdns/docs/markdown/authoritative/installation.md
rename to docs/markdown/authoritative/installation.md
index 8bb48222acca62bd89c2d25105e4a057f4be036a..36f8f3f05433d20e2f5fb5d7f3ca386a20d61f05 100644 (file)
@@ -97,7 +97,7 @@ General MySQL knowledge is assumed in this chapter, please do not interpret thes
 Connect to MySQL as a user with sufficient privileges and issue the following commands:
 
 ``` 
-!!include=../../modules/gmysqlbackend/schema.mysql.sql
+!!include=../modules/gmysqlbackend/schema.mysql.sql
 ```
 
 Now we have a database and an empty table. PDNS should now be able to launch in monitor mode and display no errors:
similarity index 96%
rename from pdns/docs/markdown/authoritative/upgrading.md
rename to docs/markdown/authoritative/upgrading.md
index f0b7f2f535d40e32d2c1e10409358f2644f4f352..9a22c6ac6029d44fc28baf91a5ead8cf63153d03 100644 (file)
@@ -13,37 +13,37 @@ If custom queries are in use, they probably need an update.
 ### gmysql backend with nodnssec schema
 
 ```
-!!include=../../modules/gmysqlbackend/nodnssec-3.x_to_3.4.0_schema.mysql.sql
+!!include=../modules/gmysqlbackend/nodnssec-3.x_to_3.4.0_schema.mysql.sql
 ```
 
 ### gmysql backend with dnssec schema
 
 ```
-!!include=../../modules/gmysqlbackend/dnssec-3.x_to_3.4.0_schema.mysql.sql
+!!include=../modules/gmysqlbackend/dnssec-3.x_to_3.4.0_schema.mysql.sql
 ```
 
 ### gpgsql backend with nodnssec schema
 
 ```
-!!include=../../modules/gpgsqlbackend/nodnssec-3.x_to_3.4.0_schema.pgsql.sql
+!!include=../modules/gpgsqlbackend/nodnssec-3.x_to_3.4.0_schema.pgsql.sql
 ```
 
 ### gpgsql backend with dnssec schema:
 
 ```
-!!include=../../modules/gpgsqlbackend/dnssec-3.x_to_3.4.0_schema.pgsql.sql
+!!include=../modules/gpgsqlbackend/dnssec-3.x_to_3.4.0_schema.pgsql.sql
 ```
 
 ### gsqlite3 backend with nodnssec schema
 
 ```
-!!include=../../modules/gsqlite3backend/nodnssec-3.x_to_3.4.0_schema.sqlite3.sql
+!!include=../modules/gsqlite3backend/nodnssec-3.x_to_3.4.0_schema.sqlite3.sql
 ```
 
 ### gsqlite3 backend with dnssec schema:
 
 ```
-!!include=../../modules/gsqlite3backend/dnssec-3.x_to_3.4.0_schema.sqlite3.sql
+!!include=../modules/gsqlite3backend/dnssec-3.x_to_3.4.0_schema.sqlite3.sql
 ```
 
 ### goracle backend:
similarity index 99%
rename from pdns/docs/markdown/common/security.md
rename to docs/markdown/common/security.md
index 96f13f3cd16059974e91c109824b38a3ecf64004..90a19862ae4cd93303099e3502419115efdfb3ad 100644 (file)
@@ -37,7 +37,7 @@ As of Authoritative Server 3.4.1 and Recursor 3.6.2, PowerDNS products can poll
 
 By default, security polling happens on the domain 'secpoll.powerdns.com', but this can be changed with the security-poll-suffix. If this setting is made empty, no polling will take place. Organizations wanting to host their own security zones can do so by changing this setting to a domain name under their control.
 
-To make this easier, the zone used to host secpoll.powerdns.com is available [here](https://github.com/PowerDNS/pdns/blob/master/pdns/docs/secpoll.zone).
+To make this easier, the zone used to host secpoll.powerdns.com is available [here](https://github.com/PowerDNS/pdns/blob/master/docs/secpoll.zone).
 
 To enable distributors of PowerDNS to signal that they have backported versions, the PACKAGEVERSION compilation-time macro can be used to set a distributor suffix.
 
similarity index 100%
rename from pdns/docs/mkdocs.yml
rename to docs/mkdocs.yml
similarity index 100%
rename from pdns/docs/process-md.sh
rename to docs/process-md.sh
similarity index 100%
rename from pdns/docs/secpoll.zone
rename to docs/secpoll.zone
index dbea24c2dc03ab863ae1291b43c88194e3b45d30..f53aed8d40da34f5cd54716cf1ad4372878be57c 100644 (file)
@@ -1,9 +1,8 @@
 AC_DEFUN([PDNS_CHECK_MKDOCS], [
-  AC_REQUIRE([AC_PROG_EGREP])
   AC_CHECK_PROG([MKDOCS], [mkdocs], [yes], [no])
 
   AS_IF([test "x$MKDOCS" = "xno"], [
-    AS_IF([test ! -d "$scrdir/pdns/docs/html" ],
+    AS_IF([test ! -d "$scrdir/docs/html" ],
       [AC_MSG_WARN([mkdocs is missing, unable to build documentation.])]
     )
   ])
index d30c54131babb13db081799bce030b19712df6d3..bf1b3e2bdda968b69f364ec9c7b342647368d857 100644 (file)
@@ -1,9 +1,8 @@
 AC_DEFUN([PDNS_CHECK_PANDOC], [
   AC_CHECK_PROG([PANDOC], [pandoc], [yes], [no])
-  AC_REQUIRE([AC_PROG_EGREP])
 
   AS_IF([test "x$PANDOC" = "xno"], [
-    AS_IF([test ! -d "$srcdir/pdns/docs/html" -o ! -f "$srcdir/pdns/docs/pdns_server.1"],
+    AS_IF([test ! -d "$srcdir/docs/html" -o ! -f "$srcdir/docs/pdns_server.1"],
       [AC_MSG_WARN([pandoc is missing, unable to build documentation and manpages.])]
     )
   ])
index 4daf2bcc99a8fda77b02d6b0a6956b777cbdd6b1..517d9ecbc0dde0a389bba2fd729e47283bdbf822 100755 (executable)
@@ -40,9 +40,6 @@ dnslabeltext.cc json.cc ws-recursor.cc ws-api.cc version.cc dns_random.cc \
 responsestats.cc webserver.cc rec-carbon.cc secpoll-recursor.cc"
 
 ./mkpubsuffixcc
-cd docs
-make pdns_recursor.1 rec_control.1
-cd ..
 
 DIRNAME=pdns-recursor-$VERSION
 rm -rf $DIRNAME
@@ -70,7 +67,7 @@ mkdir $DIRNAME/rrd
 cp tools/rrd/{create,update,makegraphs,index.html} $DIRNAME/rrd
 cp dnslabeltext.rl $DIRNAME
 cp pdns-recursor.init.d $DIRNAME
-cp docs/pdns_recursor.1 docs/rec_control.1 $DIRNAME
+cp ../docs/pdns_recursor.1 ../docs/rec_control.1 $DIRNAME
 cp configure-recursor $DIRNAME/configure
 cp powerdns-example-script.lua $DIRNAME
 mkdir -p $DIRNAME/contrib