- mkdir build/usr/share/${DOC_PACKAGE}/api-viewer
- install -m 0644 ${API_VIEWER_SOURCES} build/usr/share/${DOC_PACKAGE}/api-viewer
- # build Debian packages
- cd build; dpkg-buildpackage -rfakeroot -b -us -uc
- lintian ${GEN_DEB}
- lintian ${DOC_DEB}
- lintian ${MEDIAWIKI_DEB}
+ install -dm755 $(DESTDIR)/usr/share/${DOC_PACKAGE}/api-viewer
+ install -m 0644 ${API_VIEWER_SOURCES} $(DESTDIR)/usr/share/${DOC_PACKAGE}/api-viewer
+
+.PHONY: mediawiki-install
+mediawiki-install: pve-docs-mediawiki-import
+ install -dm755 $(DESTDIR)/usr/share/$(MEDIAWIKI_PACKAGE)
+ install -dm755 $(DESTDIR)/usr/share/doc/$(MEDIAWIKI_PACKAGE)
+ install -dm755 $(DESTDIR)/usr/bin
+ install -dm755 $(DESTDIR)/usr/share/$(MEDIAWIKI_PACKAGE)
+ install -dm755 $(DESTDIR)/usr/share/doc/$(MEDIAWIKI_PACKAGE)
+ install -m 0755 pve-docs-mediawiki-import $(DESTDIR)/usr/bin/