aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 7922953830d2d995087f56a881b41f626b1a6a4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
rpm: rpm_dist
	rpmbuild -bb \
		./build/bdist.linux-x86_64/rpm/SPECS/jnfilter.spec \
		--define "_topdir $(PWD)/build/bdist.linux-x86_64/rpm/"

rpm_dist:
	python setup.py bdist_rpm

clean:
	python setup.py clean --all
	rm -rf dist jnfilter.egg-info

docs:
	pandoc -s \
		--include-in-header=docs/bamboo.min.css \
		--metadata title="Filtro para Nerdcast" \
		--template docs/template.html \
		-s README.md \
		-o index.html

install_deps:
	dnf install -y rpmdevtools rpmlint python

.PHONY: docs