Move _GNU_SOURCE to gmxpre.h
[alexxy/gromacs.git] / .gitattributes
index df037542fb0d3a709daab5a4d517c427ea3b0572..7712db33da0db021cfdd65add55646481cea24be 100644 (file)
@@ -1,7 +1,9 @@
 # Generic rules
 *.c     filter=uncrustify
 *.cpp   filter=uncrustify
+*.cu    filter=uncrustify
 *.h     filter=uncrustify
+*.cuh   filter=uncrustify
 CMakeLists.txt  filter=copyright
 *.cmake         filter=copyright
 *.cmakein       filter=copyright
@@ -9,20 +11,29 @@ CMakeLists.txt  filter=copyright
 *.l             filter=copyright
 *.y             filter=copyright
 *.pre           filter=copyright
-# Exceptions: extra files to incldue
-admin/uncrustify.sh                     filter=copyright
+*.tex           filter=copyright
+*.bm            filter=copyright
+# Exceptions: extra files to include
+admin/*.sh                              filter=copyright
 admin/git-pre-commit                    filter=copyright
 # Exceptions: files to exclude
 *.pc.cmakein                            !filter
 cmake/CheckC*CompilerFlag.cmake         !filter
 cmake/FindBLAS.cmake                    !filter
 cmake/FindLAPACK.cmake                  !filter
-cmake/FindGit.cmake                     !filter
+cmake/ThreadMPI.cmake                   !filter
+cmake/Platform/BluegeneQ*.cmake         !filter
 cmake/*.c                               !filter
 cmake/*.c.cmakein                       !filter
-doxygen/*.cmakein                       !filter
-share/man/man7/gromacs.7.cmakein        !filter
+docs/doxygen/Doxyfile-*.cmakein         !filter
+docs/doxygen/*.cpp                      !filter
+docs/doxygen/examples/*.cpp             filter=uncrustify_only
+docs/doxygen/examples/*.c               filter=uncrustify_only
+docs/manual/UseLATEX.cmake              !filter
+scripts/GMXRC.*                         !filter
+scripts/make_gromos_rtp.py              !filter
 src/contrib/*                           !filter
+src/gromacs/gmxlib/nonbonded/preprocessor/gmxpreprocess.py !filter
 src/gromacs/linearalgebra/gmx_blas/*    !filter
 src/gromacs/linearalgebra/gmx_lapack/*  !filter
 src/gromacs/selection/parser.cpp        !filter