build: clean nm-version.h

Now that nm-version.h.in lives in libnm-util/, a stale nm-version.h
from include/ messes up the build with errors about NM_VERSION_*.
Clean both old & new nm-version.h on 'make clean' so that we can
switch branches between nm-0-9-8, nm-0-9-10, and git master and
just run 'make clean' and get things to work.
This commit is contained in:
Dan Williams 2014-07-31 21:26:06 -05:00
parent a68ade68f3
commit fa809c2636
2 changed files with 3 additions and 1 deletions

View file

@ -5,3 +5,5 @@ EXTRA_DIST = \
nm-gvaluearray-compat.h \
nm-test-utils.h \
nm-settings-flags.h
CLEANFILES=nm-version.h

View file

@ -154,7 +154,7 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libnm-util.pc
DISTCLEANFILES = libnm-util.pc
CLEANFILES =
CLEANFILES = nm-version.h
EXTRA_DIST = libnm-util.pc.in libnm-util.ver nm-version.h.in