1
2rpm: rpm_dist
3 rpmbuild -bb \
4 ./build/bdist.linux-x86_64/rpm/SPECS/jnfilter.spec \
5 --define "_topdir $(PWD)/build/bdist.linux-x86_64/rpm/"
6
7rpm_dist:
8 python setup.py bdist_rpm
9
10clean:
11 python setup.py clean --all
12 rm -rf dist jnfilter.egg-info
13
14docs:
15 pandoc -s \
16 --include-in-header=docs/bamboo.min.css \
17 --metadata title="Filtro para Nerdcast" \
18 --template docs/template.html \
19 -s README.md \
20 -o index.html
21
22install_deps:
23 dnf install -y rpmdevtools rpmlint python
24
25.PHONY: docs