PACKAGE=smartmontools
-VER=7.1
+VER=7.2
DEBREL=pve1
SRCDIR=smartmontools
deb ${DEB}: | submodule
rm -rf ${SRCDIR}.tmp
cp -rpa ${SRCDIR} ${SRCDIR}.tmp
+ rm -rf ${SRCDIR}.tmp/.git
cd ${SRCDIR}.tmp; patch -p1 < ../patches/update_changelog.patch
echo "git clone git://git.proxmox.com/git/smartmontools.git\\ngit checkout ${GITVERSION}" > ${SRCDIR}.tmp/debian/SOURCE
echo "debian/SOURCE" >> ${SRCDIR}.tmp/debian/docs
cd ${SRCDIR}.tmp; dpkg-buildpackage -rfakeroot -b -uc -us
lintian ${DEB}
- @echo ${DEB}
# make sure submodule was initialized
.PHONY: submodule
.PHONY: clean
clean:
- rm -rf ${SRCDIR}.tmp *_${ARCH}.deb *.changes *.dsc
+ rm -rf ${SRCDIR}.tmp *_${ARCH}.deb *.changes *.dsc *.buildinfo
find . -name '*~' -exec rm {} ';'
.PHONY: dinstall