mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
20 lines
494 B
Makefile
Executable File
20 lines
494 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
PKGFILES = pkg/*.service pkg/*.upstart pkg/*.logrotate
|
|
SALT_BIN = common minion master syndic
|
|
|
|
%:
|
|
make -C doc html
|
|
make -C doc man && cp -p doc/_build/man/* doc/man
|
|
cp $(PKGFILES) debian
|
|
for d in $(SALT_BIN); do \
|
|
cp pkg/salt.postrm debian/salt-$${d}.postrm; done
|
|
dh $@
|
|
|
|
dh_override_auto_build:
|
|
python setup.py build
|
|
|
|
override_dh_installdeb:
|
|
dh_installdeb
|
|
find . -type f -regex .*/usr/bin/.* -exec sed -i -e 's/^\(#!\/usr\/bin\/\)env \(python\)$$/\1\2/' {} \;
|