Whamcloud - gitweb
LU-2989 build: some make targets are broken
authorDmitry Eremin <dmitry.eremin@intel.com>
Tue, 26 Mar 2013 18:03:47 +0000 (22:03 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 1 May 2013 06:19:59 +0000 (02:19 -0400)
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 <dmitry.eremin@intel.com>
Change-Id: Ic8841d11960d5aacd8293ecfcaf8c628dd743c45
Reviewed-on: http://review.whamcloud.com/5766
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alexey Shvetsov <alexxy@gentoo.org>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
ldiskfs/ldiskfs/Makefile.in
lustre/target/.gitignore [new file with mode: 0644]

index 6cdc071..32ad2ee 100644 (file)
@@ -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 (file)
index 0000000..10a7e8d
--- /dev/null
@@ -0,0 +1 @@
+/Makefile.in