summaryrefslogtreecommitdiff
path: root/extras/volume_id
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 /extras/volume_id
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 'extras/volume_id')
-rw-r--r--extras/volume_id/Makefile.am5
-rw-r--r--extras/volume_id/lib/Makefile.am3
2 files changed, 2 insertions, 6 deletions
diff --git a/extras/volume_id/Makefile.am b/extras/volume_id/Makefile.am
index c58f1a8782..4a8ba94654 100644
--- a/extras/volume_id/Makefile.am
+++ b/extras/volume_id/Makefile.am
@@ -26,7 +26,6 @@ EXTRA_DIST = \
%.7 %.8 : %.xml
$(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
-distclean-local:
- rm -f Makefile.in
- rm -f $(dist_man_MANS)
+MAINTAINERCLEANFILES= \
+ $(dist_man_MANS)
diff --git a/extras/volume_id/lib/Makefile.am b/extras/volume_id/lib/Makefile.am
index 678e44ec1c..d5fd6560f1 100644
--- a/extras/volume_id/lib/Makefile.am
+++ b/extras/volume_id/lib/Makefile.am
@@ -72,6 +72,3 @@ EXTRA_DIST = \
pkgconfigdir = $(prefix)/$(libdir_name)/pkgconfig
pkgconfig_DATA = libvolume_id.pc
-
-distclean-local:
- rm -f Makefile.in