1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

make: fix "make distclean"

Fixes #2097
Closes #2108
This commit is contained in:
Daniel Stenberg 2017-11-24 00:49:48 +01:00
parent 6b9dd0d409
commit 9f691be3d4
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 3 additions and 9 deletions

View File

@ -217,15 +217,6 @@ examples:
check-docs: check-docs:
@(cd docs/libcurl; $(MAKE) check) @(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 # Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros
# must contain the following line: # must contain the following line:
# %_topdir /home/loic/local/rpm # %_topdir /home/loic/local/rpm

View File

@ -81,3 +81,6 @@ pdf: $(PDFPAGES)
rm $$foo.ps; \ rm $$foo.ps; \
echo "converted $< to $@") echo "converted $< to $@")
distclean:
rm -f $(CLEANFILES)