Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc
-all: ${DEB}
- @echo ${DEB}
+all:
${SRCDIR}/vnc.html: submodule
${BUILDDIR}: $(SRCDIR)/vnc.html
.PHONY: submodule
submodule:
- git submodule update --init
+ test -f "${SRCDIR}/VERSION" || git submodule update --init
.PHONY: download
download ${SRCDIR}:
.PHONY: clean
clean:
- rm -rf *~ debian/*~ *.deb ${BUILDDIR} *.changes *.dsc *.buildinfo
+ rm -rf *~ debian/*~ *.deb ${BUILDDIR} *.changes *.dsc *.buildinfo ${PACKAGE}*.tar.gz
.PHONY: dinstall
dinstall: deb