Support custom default extension for FileNameOption
[alexxy/gromacs.git] / .gitattributes
index 1b6e057703a0819735f1cd335a5b6105d3ab9d11..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,8 +11,10 @@ CMakeLists.txt  filter=copyright
 *.l             filter=copyright
 *.y             filter=copyright
 *.pre           filter=copyright
+*.tex           filter=copyright
+*.bm            filter=copyright
 # Exceptions: extra files to include
-admin/uncrustify.sh                     filter=copyright
+admin/*.sh                              filter=copyright
 admin/git-pre-commit                    filter=copyright
 # Exceptions: files to exclude
 *.pc.cmakein                            !filter
@@ -21,11 +25,14 @@ cmake/ThreadMPI.cmake                   !filter
 cmake/Platform/BluegeneQ*.cmake         !filter
 cmake/*.c                               !filter
 cmake/*.c.cmakein                       !filter
-doxygen/*.cmakein                       !filter
-doxygen/*.cpp                           !filter
-manual/UseLATEX.cmake                   !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/gpu_utils/memtestG80_core.h             !filter
 src/gromacs/gmxlib/nonbonded/preprocessor/gmxpreprocess.py !filter
 src/gromacs/linearalgebra/gmx_blas/*    !filter
 src/gromacs/linearalgebra/gmx_lapack/*  !filter