diff options
author | Niels de Vos <ndevos@redhat.com> | 2017-10-10 13:23:50 +0200 |
---|---|---|
committer | Jeff Darcy <jeff@pl.atyp.us> | 2017-10-13 16:28:55 +0000 |
commit | a413c6353dbfff5221ea020ff8e1475d5ee17a81 (patch) | |
tree | c09014d0d29fe99edff678c5861da13e1986febb /events/src | |
parent | c64fd0d4b0ef313bb44aae68a376ec0c9ee8657a (diff) | |
download | glusterfs-a413c6353dbfff5221ea020ff8e1475d5ee17a81.tar.gz glusterfs-a413c6353dbfff5221ea020ff8e1475d5ee17a81.tar.xz glusterfs-a413c6353dbfff5221ea020ff8e1475d5ee17a81.zip |
build: make it possible to build cleanly 2x in a row
'make clean' does not cleanup everything, and some of the files get
cleaned too eagerly. Several files are being packaged in a 'make dist'
tarball, that get rebuild each time anyway.
Specifically, this change prevents
- libglusterfs/src/generator.pyc from laying around
- keeping rpc/xdr/gen/*.x symlinks
- modifying tests/basic/{fuse,gfapi}/Makefile each run
- including tests/env.rc and events/src/eventtypes.py in the tarball
Change-Id: I774dd1abf3a9d3b6a89b938cf6ee7d7792c59a82
BUG: 1501317
Reported-by: Patrick Matthäi <pmatthaei@debian.org>
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'events/src')
-rw-r--r-- | events/src/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/events/src/Makefile.am b/events/src/Makefile.am index 8493abdcd8..4308ccdbb2 100644 --- a/events/src/Makefile.am +++ b/events/src/Makefile.am @@ -8,6 +8,8 @@ CLEANFILES = eventtypes.py eventsdir = $(GLUSTERFS_LIBEXECDIR)/events events_PYTHON = __init__.py gf_event.py eventsapiconf.py eventtypes.py \ utils.py +# this does not work, see the Makefile.am in the root for a workaround +#nodist_events_PYTHON = eventtypes.py eventtypes.py: $(top_srcdir)/events/eventskeygen.py $(PYTHON) $(top_srcdir)/events/eventskeygen.py PY_HEADER |