From: Dmitry Eremin Date: Tue, 26 Mar 2013 18:03:47 +0000 (+0400) Subject: LU-2989 build: some make targets are broken X-Git-Tag: 2.3.65~36 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=39875f183c5f902459aa5072f2abf69ebd179cfd;ds=sidebyside LU-2989 build: some make targets are broken Add make targets "distclean" and "maintainer-clean" in ldiskfs/ldiskfs/Makefile. The global "make distclean" now executes whithout an error. Also lustre/target/.gitignore file is created to hide message from GIT. Signed-off-by: Dmitry Eremin Change-Id: Ic8841d11960d5aacd8293ecfcaf8c628dd743c45 Reviewed-on: http://review.whamcloud.com/5766 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Alexey Shvetsov Reviewed-by: Faccini Bruno Reviewed-by: Andreas Dilger --- diff --git a/ldiskfs/ldiskfs/Makefile.in b/ldiskfs/ldiskfs/Makefile.in index 6cdc071..32ad2ee 100644 --- a/ldiskfs/ldiskfs/Makefile.in +++ b/ldiskfs/ldiskfs/Makefile.in @@ -78,9 +78,14 @@ modules: sources clean: $(MAKE) -C @LINUX_OBJ@ M=$(shell pwd) $@ - if [ -f @LINUX_SYMBOLS@ ]; then $(RM) @LINUX_SYMBOLS@; fi if [ -f Module.markers ]; then $(RM) Module.markers; fi +distclean: + -rm -f Makefile + +maintainer-clean: + -rm -f Makefile + modules_install: @# Install the kernel modules $(MAKE) -C @LINUX_OBJ@ M=$(shell pwd) \ diff --git a/lustre/target/.gitignore b/lustre/target/.gitignore new file mode 100644 index 0000000..10a7e8d --- /dev/null +++ b/lustre/target/.gitignore @@ -0,0 +1 @@ +/Makefile.in