include defines.mk PKGVER != dpkg-parsechangelog -S version all: $(DEB) DEB=${PACKAGE}_${PKGVER}_all.deb .PHONY: deb deb: $(DEB) $(DEB): rm -rf build rsync -a ./* build/ cd build; dpkg-buildpackage -b -us -uc lintian $(DEB) install: install -d ${CSSDIR} install -d ${JSDIR} install -d ${FONTDIR} make -C ${F7DIR} install make -C ${F7ICONSDIR} install make -C ${MATERIALDIR} install .PHONY: framework7 framework7: wget ${F7URL} -O framework7.tar.gz.tmp mv framework7.tar.gz.tmp framework7.tar.gz mkdir -p ${F7DIR}.tmp tar -xf framework7.tar.gz -C ${F7DIR}.tmp cp -ar ${F7DIR}.tmp/js ${F7DIR}/ cp -ar ${F7DIR}.tmp/css ${F7DIR}/ rm framework7.tar.gz rm -rf ${F7DIR}.tmp .PHONY: framework7-icons framework7-icons: wget ${F7ICONSURL} -O f7icons.tar.gz.tmp mv f7icons.tar.gz.tmp f7icons.tar.gz tar -xf f7icons.tar.gz cp -rf ${F7ICONSDIR}-${F7ICONSVER}/css ${F7ICONSDIR}/ cp -rf ${F7ICONSDIR}-${F7ICONSVER}/fonts ${F7ICONSDIR}/ rm -rf ${F7ICONSDIR}-${F7ICONSVER} rm f7icons.tar.gz .PHONY: material-icons material-icons: mkdir -p ${MATERIALDIR} for i in ${MATERIALFONTS} ${MATERIALCSS}; do \ wget ${MATERIALURL}/$$i -O material-icons/$$i.tmp; \ mv material-icons/$$i.tmp material-icons/$$i; \ done .PHONY: download download: framework7 framework7-icons material-icons .PHONY: clean clean: rm -rf *.tar.gz build/ *.deb *.buildinfo *.changes