mirror of
git://git.proxmox.com/git/novnc-pve.git
synced 2024-12-22 17:34:20 +03:00
add SOURCE file (reference to git repository)
This commit is contained in:
parent
0fbbbb73b3
commit
904d5108f7
6
Makefile
6
Makefile
@ -8,6 +8,7 @@ NOVNCSRC=${NOVNCDIR}.tgz
|
||||
NOVNCVER=0.4
|
||||
|
||||
ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
||||
GITVERSION:=$(shell cat .git/refs/heads/master)
|
||||
|
||||
DEB=${PACKAGE}_${NOVNCVER}-${PKGREL}_${ARCH}.deb
|
||||
|
||||
@ -22,7 +23,10 @@ deb ${DEB}: ${TARSRC}
|
||||
rm -rf ${NOVNCDIR}
|
||||
tar xf ${NOVNCSRC}
|
||||
mv ${NOVNCDIR}/debian ${NOVNCDIR}/debian.org
|
||||
cp -a debian ${NOVNCDIR}/debian
|
||||
cp -a debian ${NOVNCDIR}/debian
|
||||
# fix file permissions
|
||||
chmod 0644 ${NOVNCDIR}/include/jsunzip.js
|
||||
echo "git clone git://git.proxmox.com/git/novnc-pve.git\\ngit checkout ${GITVERSION}" > ${NOVNCDIR}/debian/SOURCE
|
||||
cd ${NOVNCDIR}; dpkg-buildpackage -b -uc -us
|
||||
lintian ${DEB}
|
||||
|
||||
|
1
debian/docs
vendored
1
debian/docs
vendored
@ -1,2 +1,3 @@
|
||||
README.md
|
||||
LICENSE.txt
|
||||
debian/SOURCE
|
||||
|
Loading…
Reference in New Issue
Block a user