gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 100/116: make: fix "make distclean"


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 100/116: make: fix "make distclean"
Date: Tue, 05 Dec 2017 14:52:10 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 9f691be3d49840690f7d3a22e81e6fd3e03f0900
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri Nov 24 00:49:48 2017 +0100

    make: fix "make distclean"
    
    Fixes #2097
    Closes #2108
---
 Makefile.am      | 9 ---------
 docs/Makefile.am | 3 +++
 2 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index d225a09ec..8e5ef9110 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -217,15 +217,6 @@ examples:
 check-docs:
        @(cd docs/libcurl; $(MAKE) check)
 
-# This is a hook to have 'make clean' also clean up the docs and the tests
-# dir. The extra check for the Makefiles being present is necessary because
-# 'make distcheck' will make clean first in these directories _before_ it runs
-# this hook.
-clean-local:
-       @(if test -f tests/Makefile; then cd tests; $(MAKE) clean; fi)
-       @(if test -f docs/Makefile; then cd docs; $(MAKE) clean; fi)
-
-#
 # Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros
 # must contain the following line:
 # %_topdir /home/loic/local/rpm
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 17b3909ca..ae5ceecae 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -81,3 +81,6 @@ pdf: $(PDFPAGES)
        rm $$foo.ps; \
        echo "converted $< to $@")
 
+distclean:
+       rm -f $(CLEANFILES)
+

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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