]> git.proxmox.com Git - pmg-docs.git/blobdiff - Makefile
installation: add `nomodeset` kernel parameter tip for bogus graphics
[pmg-docs.git] / Makefile
index ee057db47a621d0de53bc3baadbc7116a0ebd395..443138e1df94b10096c69f181eeb857bc8771df7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,11 +9,6 @@ DSC=$(DEB_SOURCE)_$(DEB_VERSION).dsc
 GEN_PACKAGE=pmg-doc-generator
 DOC_PACKAGE=pmg-docs
 
-# also update debian/changelog
-PKGREL=1
-
-GITVERSION:=$(shell git rev-parse HEAD)
-
 GEN_DEB=$(GEN_PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_all.deb
 DOC_DEB=$(DOC_PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_all.deb
 
@@ -150,7 +145,7 @@ api-viewer/apidoc.js: $(API_VIEWER_FILES)
 $(BUILDDIR):
        rm -rf $@ $@.tmp
        rsync -a * $@.tmp
-       echo "git clone git://git.proxmox.com/git/pmg-docs.git\\ngit checkout $(GITVERSION)" > $@.tmp/debian/SOURCE
+       echo "git clone git://git.proxmox.com/git/pmg-docs.git\\ngit checkout $(shell git rev-parse HEAD)" > $@.tmp/debian/SOURCE
        mv $@.tmp $@
 
 .PHONY: dinstall