blob: f5ca3babfb6410093d242b99ce62fdf98b8c0d74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/buildcore.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
BUILD_DATE = $(shell dpkg-parsechangelog -S Date)
build/python-kiwi::
cd doc && $(MAKE) api PYDOCTOR_OPTIONS="--buildtime=$(shell date -u +'%Y-%m-%d\\ %H:%M:%S' --date='$(BUILD_DATE)')"
install/python-kiwi::
mv debian/python-kiwi/usr/share/doc/kiwi/api debian/python-kiwi/usr/share/doc/python-kiwi/api
rm -rf debian/python-kiwi/usr/share/doc/kiwi
clean::
cd doc && $(MAKE) clean
-rm -rf kiwi.egg-info
-find . -name \*.mo -exec rm {} \;
|