Skip to content
Snippets Groups Projects
Commit 2f16ea8f authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Makefile.am: sort lists, clean *.py[co] from all directories


*.py[co] were not removed from lib/confd. Removing *.py[co]
from all directories listed in $DIRS can't hurt.

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent 1513e2dd
No related branches found
No related tags found
No related merge requests found
...@@ -36,10 +36,10 @@ DIRS = \ ...@@ -36,10 +36,10 @@ DIRS = \
doc/examples/hooks \ doc/examples/hooks \
lib \ lib \
lib/build \ lib/build \
lib/confd \
lib/http \ lib/http \
lib/hypervisor \ lib/hypervisor \
lib/rapi \ lib/rapi \
lib/confd \
man \ man \
qa \ qa \
scripts \ scripts \
...@@ -57,6 +57,7 @@ maintainer-clean-local: ...@@ -57,6 +57,7 @@ maintainer-clean-local:
rm -rf doc/api doc/html doc/coverage rm -rf doc/api doc/html doc/coverage
CLEANFILES = \ CLEANFILES = \
$(addsuffix /*.py[co],$(DIRS)) \
autotools/replace_vars.sed \ autotools/replace_vars.sed \
daemons/daemon-util \ daemons/daemon-util \
daemons/ganeti-cleaner \ daemons/ganeti-cleaner \
...@@ -66,15 +67,8 @@ CLEANFILES = \ ...@@ -66,15 +67,8 @@ CLEANFILES = \
doc/examples/ganeti.cron \ doc/examples/ganeti.cron \
doc/examples/gnt-config-backup \ doc/examples/gnt-config-backup \
doc/examples/hooks/ipsec \ doc/examples/hooks/ipsec \
lib/*.py[co] \
lib/build/*.py[co] \
lib/http/*.py[co] \
lib/hypervisor/*.py[co] \
lib/rapi/*.py[co] \
$(man_MANS) \ $(man_MANS) \
$(manhtml) \ $(manhtml) \
qa/*.py[co] \
test/*.py[co] \
stamp-directories \ stamp-directories \
stamp-srclinks \ stamp-srclinks \
$(nodist_pkgpython_PYTHON) $(nodist_pkgpython_PYTHON)
...@@ -143,8 +137,8 @@ http_PYTHON = \ ...@@ -143,8 +137,8 @@ http_PYTHON = \
confd_PYTHON = \ confd_PYTHON = \
lib/confd/__init__.py \ lib/confd/__init__.py \
lib/confd/client.py \ lib/confd/client.py \
lib/confd/server.py \ lib/confd/querylib.py \
lib/confd/querylib.py lib/confd/server.py
docrst = \ docrst = \
doc/admin.rst \ doc/admin.rst \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment