Whamcloud - gitweb
LU-6635 lfsck: block replacing the OST-object for test
[fs/lustre-release.git] / lustre / autoMakefile.am
index fb41119..3b8a55e 100644 (file)
 #
 # You should have received a copy of the GNU General Public License
 # version 2 along with this program; If not, see
-# http://www.sun.com/software/products/lustre/docs/GPLv2.pdf
-#
-# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
-# CA 95054 USA or visit www.sun.com if you need additional information or
-# have any questions.
+# http://www.gnu.org/licenses/gpl-2.0.html
 #
 # GPL HEADER END
 #
@@ -60,18 +56,3 @@ endif
 DIST_SUBDIRS := $(ALWAYS_SUBDIRS) $(SERVER_SUBDIRS) $(CLIENT_SUBDIRS)
 
 EXTRA_DIST = BUGS kernel_patches BUILDING
-
-sources: lustre_build_version
-
-all-recursive: lustre_build_version
-
-BUILD_VER_H=$(top_builddir)/lustre/include/lustre/lustre_build_version.h
-
-lustre_build_version:
-       echo -n "#define BUILD_VERSION \"" > tmpver
-       cat $(top_builddir)/LUSTRE-VERSION-FILE | tr -d '\n' | \
-               sed -e 's/^LUSTRE_VERSION = //' >> tmpver
-       echo "\"" >> tmpver
-       cmp -s $(BUILD_VER_H) tmpver > tmpdiff 2> /dev/null &&          \
-                $(RM) tmpver tmpdiff ||                                        \
-               mv -f tmpver $(BUILD_VER_H)