1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Remove man3 stuff since this is available via ansible-doc, rpm target should

build manpages.
This commit is contained in:
Michael DeHaan 2014-01-03 11:00:11 -05:00
parent 0882eefdff
commit 1270e2350c
2 changed files with 2 additions and 4 deletions

View file

@ -124,7 +124,7 @@ install:
sdist: clean docs sdist: clean docs
$(PYTHON) setup.py sdist -t MANIFEST.in $(PYTHON) setup.py sdist -t MANIFEST.in
rpmcommon: sdist rpmcommon: $(MANPAGES) sdist
@mkdir -p rpm-build @mkdir -p rpm-build
@cp dist/*.gz rpm-build/ @cp dist/*.gz rpm-build/
@sed -e 's#^Version:.*#Version: $(VERSION)#' -e 's#^Release:.*#Release: $(RPMRELEASE)%{?dist}#' $(RPMSPEC) >rpm-build/$(NAME).spec @sed -e 's#^Version:.*#Version: $(VERSION)#' -e 's#^Release:.*#Release: $(RPMRELEASE)%{?dist}#' $(RPMSPEC) >rpm-build/$(NAME).spec

View file

@ -79,9 +79,8 @@ are transferred to managed machines automatically.
mkdir -p %{buildroot}/etc/ansible/ mkdir -p %{buildroot}/etc/ansible/
cp examples/hosts %{buildroot}/etc/ansible/ cp examples/hosts %{buildroot}/etc/ansible/
cp examples/ansible.cfg %{buildroot}/etc/ansible/ cp examples/ansible.cfg %{buildroot}/etc/ansible/
mkdir -p %{buildroot}/%{_mandir}/{man1,man3}/ mkdir -p %{buildroot}/%{_mandir}/man1/
cp -v docs/man/man1/*.1 %{buildroot}/%{_mandir}/man1/ cp -v docs/man/man1/*.1 %{buildroot}/%{_mandir}/man1/
cp -v docs/man/man3/*.3 %{buildroot}/%{_mandir}/man3/
mkdir -p %{buildroot}/%{_datadir}/ansible mkdir -p %{buildroot}/%{_datadir}/ansible
cp -rv library/* %{buildroot}/%{_datadir}/ansible/ cp -rv library/* %{buildroot}/%{_datadir}/ansible/
@ -98,7 +97,6 @@ rm -rf %{buildroot}
%config(noreplace) %{_sysconfdir}/ansible %config(noreplace) %{_sysconfdir}/ansible
%doc README.md PKG-INFO COPYING %doc README.md PKG-INFO COPYING
%doc %{_mandir}/man1/ansible* %doc %{_mandir}/man1/ansible*
%doc %{_mandir}/man3/ansible.*
%doc examples/playbooks %doc examples/playbooks