diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-12-06 04:03:08 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-12-06 04:03:08 +0100 |
commit | 5d89ef7bf94d8a708a1159be22eb1cf458a1d101 (patch) | |
tree | ba18b54b2d0aeb4ed5e31013e89a603b7e7398a1 /Makefile.am | |
parent | 626ed3b6c119090dab7bd7491c423ef8ef93c94b (diff) |
make: do not delete autotools generated file with distclean
[...] running the command
`make maintainer-clean' should not delete `configure' even if
`configure' can be remade using a rule in the Makefile. More
generally, `make maintainer-clean' should not delete anything that
needs to exist in order to run `configure' and then begin to build
the program. This is the only exception; `maintainer-clean' should
delete everything else that can be rebuilt.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am index 1d87bfd1a8..55df27e2c7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -14,15 +14,16 @@ EXTRA_DIST = \ docs \ autogen.sh -PREVIOUS_VERSION = `expr $(VERSION) - 1` +CLEANFILES = \ + udev-$(VERSION).tar.gz udev-$(VERSION).tar.bz2 + +clean-local: + rm -rf udev-test-install distclean-local: - rm -f *~ rm -rf autom4te.cache - rm -f depcomp aclocal.m4 config.h.in configure install-sh - rm -f Makefile.in missing config.guess config.sub ltmain.sh - rm -rf udev-test-install - rm -f udev-$(VERSION).tar.gz udev-$(VERSION).tar.bz2 + +PREVIOUS_VERSION = `expr $(VERSION) - 1` changelog: @ head -1 ChangeLog | grep -q "to v$(PREVIOUS_VERSION)" |