cat api-viewer/apidata.js api-viewer/PVEAPI.js >$@
.PHONY: dinstall
-dinstall: ${GEN_DEB}
- dpkg -i ${GEN_DEB}
+dinstall: ${GEN_DEB} ${DOC_DEB}
+ dpkg -i ${GEN_DEB} ${DOC_DEB}
.PHONY: deb
Section: perl
Priority: optional
Architecture: any
-Depends: libpve-common-perl, asciidoc
+Depends: ${perl:Depends}, libpve-common-perl, asciidoc
Description: Proxmox VE Documentation helpers
Tool to auto-generate various Proxmox VE Documentation files.
--- /dev/null
+To enable the apache site use:
+
+# a2ensite pve-docs.conf
+# /etc/init.d/apache2 reload
+
+Now you should be able to access the documentation at:
+
+* Admin Guide and Manual pages
+http://your-server/pve-docs
+
+* API Viewer
+http://your-server/pve-docs/api-viewer
+
+
Source: pve-docs
-Section: perl
+Section: doc
Priority: extra
Maintainer: Proxmox Support Team <support@proxmox.com>
Build-Depends: debhelper (>= 7.0.50~), lintian
Standards-Version: 3.8.4
Package: pve-docs
-Section: doc
-Priority: optional
Architecture: all
-Depends: apache2
+Depends: ${misc:Depends}
+Suggests: apache2
Description: Proxmox VE Documentation
- This package contains the Proxmox VE Documentation files.
+ This package contains the Proxmox VE Documentation files, and apache2
+ configuration files to serve them.
--- /dev/null
+debian/README