+DGDIR=.
+
+include ./pve-doc-generator.mk
+
+PACKAGE=pve-doc-generator
+
+# also update debian/changelog
+PKGREL=1
+
+GITVERSION:=$(shell cat .git/refs/heads/master)
+
+DEB=${PACKAGE}_${DOCRELEASE}-${PKGREL}_amd64.deb
+
+COMMAND_LIST=pvecm qm qmrestore pct pveam pvesm pveum vzdump ha-manager
+
+SERVICE_LIST=pve-firewall pve-ha-crm pve-ha-lrm pvestatd pmxcfs
+
+CONFIG_LIST=datacenter.cfg qm.conf pct.conf
+
+DEB_SOURCES= \
+ pve-doc-generator.mk \
+ attributes.txt \
+ $(addsuffix .adoc, ${COMMAND_LIST}) \
+ $(addsuffix .adoc, ${SERVICE_LIST}) \
+ $(addsuffix .adoc, ${CONFIG_LIST}) \
+ pve-storage-dir.adoc \
+ pve-storage-glusterfs.adoc \
+ pve-storage-iscsi.adoc \
+ pve-storage-iscsidirect.adoc \
+ pve-storage-lvm.adoc \
+ pve-storage-nfs.adoc \
+ pve-storage-rbd.adoc \
+ pve-storage-zfspool.adoc \
+ pmxcfs.8-cli.adoc \
+ pve-copyright.adoc \
+ docinfo.xml
+
+GEN_SCRIPTS= \
+ gen-datacenter.cfg.5-opts.pl \
+ gen-pct.conf.5-opts.pl \
+ gen-qm.conf.5-opts.pl \
+ gen-pve-firewall-cluster-opts.pl \
+ gen-pve-firewall-host-opts.pl \
+ gen-pve-firewall-macros-adoc.pl \
+ gen-pve-firewall-rules-opts.pl \
+ gen-pve-firewall-vm-opts.pl