summaryrefslogtreecommitdiff
path: root/udev/Makefile.am
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-12-06 04:03:08 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-12-06 04:03:08 +0100
commit5d89ef7bf94d8a708a1159be22eb1cf458a1d101 (patch)
treeba18b54b2d0aeb4ed5e31013e89a603b7e7398a1 /udev/Makefile.am
parent626ed3b6c119090dab7bd7491c423ef8ef93c94b (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 'udev/Makefile.am')
-rw-r--r--udev/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/udev/Makefile.am b/udev/Makefile.am
index c374942c6e..2d185f477d 100644
--- a/udev/Makefile.am
+++ b/udev/Makefile.am
@@ -81,6 +81,8 @@ EXTRA_DIST = \
%.7 %.8 : %.xml
$(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
-distclean-local:
+MAINTAINERCLEANFILES = \
+ $(dist_man_MANS)
+
+git-clean:
rm -f Makefile.in
- rm -f $(dist_man_MANS)