2011-12-27 00:34:06 +00:00
|
|
|
#!/usr/bin/make -f
|
2012-11-26 23:59:42 +00:00
|
|
|
|
2012-12-04 10:31:25 +00:00
|
|
|
PKGFILES = pkg/*.service pkg/*.upstart pkg/*.logrotate
|
|
|
|
SALT_BIN = common minion master syndic
|
2012-11-26 23:59:42 +00:00
|
|
|
|
2011-10-04 03:46:11 +00:00
|
|
|
%:
|
2012-12-19 00:38:19 +00:00
|
|
|
make -C doc html
|
2013-03-28 00:18:29 +00:00
|
|
|
make -C doc man && cp -p doc/_build/man/* doc/man
|
2012-12-03 08:08:52 +00:00
|
|
|
cp $(PKGFILES) debian
|
2012-12-04 09:21:38 +00:00
|
|
|
for d in $(SALT_BIN); do \
|
|
|
|
cp pkg/salt.postrm debian/salt-$${d}.postrm; done
|
|
|
|
dh $@
|
|
|
|
|
|
|
|
dh_override_auto_build:
|
|
|
|
python setup.py build
|
2013-05-17 18:44:35 +00:00
|
|
|
|
|
|
|
override_dh_installdeb:
|
|
|
|
dh_installdeb
|
|
|
|
find . -type f -regex .*/usr/bin/.* -exec sed -i -e 's/^\(#!\/usr\/bin\/\)env \(python\)$$/\1\2/' {} \;
|