bug-mcron
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-mcron] [PATCH 08/33] build: Improve maintainer-clean rule.


From: Mathieu Lirzin
Subject: [Bug-mcron] [PATCH 08/33] build: Improve maintainer-clean rule.
Date: Sun, 27 Sep 2015 22:41:53 +0200

* makefile.am (maintainer-clean-local): Invoke 'git clean' to remove
  files listed in '.gitignore'.
  (MAINTAINERCLEANFILES): Delete unneeded variable.
---
 makefile.am | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/makefile.am b/makefile.am
index 23384bd..7187dd7 100644
--- a/makefile.am
+++ b/makefile.am
@@ -24,10 +24,6 @@ SUBDIRS = scm/mcron .
 ED = @ED@   # !!!! Are these needed?
 CP = @CP@
 
-MAINTAINERCLEANFILES = configure makefile makefile.in config.guess config.sub \
-                       install-sh missing texinfo.tex INSTALL \
-                       aclocal.m4 compile depcomp doc/mcron.1
-
 CLEANFILES = mcron.c
 
 EXTRA_DIST = makefile.ed mcron.c.template BUGS
@@ -84,6 +80,5 @@ $(dist_man_MANS): mcron.c
        $(HELP2MAN) -n 'a program to run tasks at regular (or not) intervals' \
            ./mcron > $@
 
-
 maintainer-clean-local:
-       rm -r build-aux
+       git clean -xd --force

reply via email to

[Prev in Thread] Current Thread [Next in Thread]