summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-08-09 20:17:21 +0200
committerJulian Andres Klode <jak@debian.org>2016-08-10 16:17:19 +0200
commit4d22a5704a0ebe19a5fa2524ac90a26c824325de (patch)
tree00080ce8668878c644b89d0f90423245877a1659
parentc85c4bed0a4b32ee2dcbd86ea819e39f3d8beb84 (diff)
downloadapt-4d22a5704a0ebe19a5fa2524ac90a26c824325de.tar.gz
Update gitignore for cmake
We cannot be sure if you are not running the build tree, so this is a bit ugly. Gbp-Dch: ignore
-rw-r--r--.gitignore111
1 files changed, 88 insertions, 23 deletions
diff --git a/.gitignore b/.gitignore
index 14e8c596c..7baa7fbeb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,19 +1,92 @@
-*~
-# build artifacts
-/aclocal.m4
-/autom4te.cache/
-/build/
-/buildlib/config.guess
-/buildlib/config.sub
-/configure
-
-# generated files in the process to build all
-# apt man pages and other documentation
-/doc/*/
+# Include directory
+include/
+
+# Cmake files
+CMakeCache.txt
+CMakeFiles
+CMakeScripts
+Makefile
+cmake_install.cmake
+install_manifest.txt
+CTestTestfile.cmake
+Testing/
+
+gtest-*
+
+# Compiled output
+*.o
+*.so*
+*.versionscript
+
+# Templates
+*.pot
+*.pot-*
+!/po/apt-all.pot
+
+# Vendor files
+
+**/vendor/sources.list
+**/LC_MESSAGES/
+
+**/ftparchive/apt-ftparchive
+**/cmdline/apt
+**/cmdline/apt-cache
+**/cmdline/apt-cdrom
+**/cmdline/apt-config
+**/cmdline/apt-extracttemplates
+**/cmdline/apt-get
+**/cmdline/apt-helper
+**/cmdline/apt-key
+**/cmdline/apt-mark
+**/cmdline/apt-sortpkgs
+**/cmdline/planners
+**/cmdline/solvers
+**/cmdline/apt
+
+**/methods/file
+**/methods/copy
+**/methods/store
+**/methods/gpgv
+**/methods/cdrom
+**/methods/http
+**/methods/https
+**/methods/mirror
+**/methods/ftp
+**/methods/rred
+**/methods/rsh
+**/methods/ssh
+**/methods/gzip
+**/methods/bzip2
+**/methods/xz
+**/methods/lzma
+
+**/test/interactive-helper/aptwebserver
+**/test/interactive-helper/extract-control
+**/test/interactive-helper/rpmver
+**/test/interactive-helper/testdeb
+**/test/interactive-helper/mthdcat
+**/test/interactive-helper/test_fileutl
+**/test/interactive-helper/test_udevcdrom
+**/test/libapt/libapt_test
+
+# Documentation
+Doxyfile
+doxygen/
+*.html/
+*.text.html
+*.text
+*.*stamp*
+*.[1-9]
+**/doc/*/*.xml
+**/doc/*/*.dbk
!/doc/examples/
-!/doc/po/
-/doc/en/*
-!/doc/en/makefile
+
+# Backend files
+Makefile
+*.ninja
+.ninja*
+
+!CMakeLists.txt
# package building artifacts
/debian/*.log
@@ -29,14 +102,6 @@
/debian/libapt-pkg-doc/
/debian/apt-transport-https/
-# generated from *.in files
-/cmdline/apt-key
-/doc/apt-vendor.ent
-/doc/examples/sources.list
-/vendor/current
-/vendor/*/sources.list
-/vendor/*/makefile.auto
-
# generated for and by abicheck
/abicheck/apt_build.xml
/abicheck/apt_installed.xml