diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2009-04-19 00:22:56 +0100 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2009-04-19 00:22:56 +0100 |
commit | f19d93c7ff15cfeccc7ea089b327945cd89fba4b (patch) | |
tree | 407a1e3b8fb3435820d20246d013d39dc303b8b1 /git.mk | |
parent | 08a5db51d3a1d4f796cd9c12c04400a704b57ba3 (diff) | |
download | libgdata-f19d93c7ff15cfeccc7ea089b327945cd89fba4b.tar.gz |
Updated ChangeLog code and .gitignore macro file
Updated ChangeLog Automake code from http://live.gnome.org/Git/ChangeLog,
and .gitignore macro file from Pango master.
Diffstat (limited to 'git.mk')
-rw-r--r-- | git.mk | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -1,8 +1,12 @@ # git.mk # -# Copyright 2009 Red Hat, Inc. +# Copyright 2009, Red Hat, Inc. # Written by Behdad Esfahbod # +# Copying and distribution of this file, with or without modification, +# are permitted in any medium without royalty provided the copyright +# notice and this notice are preserved. +# # The canonical source for this file is pango/git.mk, or whereever the # header of pango/git.mk suggests in the future. # @@ -77,7 +81,7 @@ git-mk-install: ### .gitignore generation -.gitignore: Makefile.am $(top_srcdir)/git.mk +$(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk @echo Generating $@; \ GTKDOCGITIGNOREFILES=; \ test "x$(DOC_MODULE)" = x -o "x$(DOC_MAIN_SGML_FILE)" = x || \ @@ -155,12 +159,12 @@ git-mk-install: "*~" \ ".*.swp" \ ; do echo /$$x; done | \ - grep -v '/[.][.]/' | \ + sed "s@^/`echo "$(srcdir)" | sed 's/\(.\)/[\1]/g'`/@/@" | \ sed 's@/[.]/@/@g' | \ LANG=C sort | uniq > $@.tmp && \ mv $@.tmp $@; -all: .gitignore gitignore-recurse +all: $(srcdir)/.gitignore gitignore-recurse gitignore-recurse: @if test "x$(SUBDIRS)" = "x$(DIST_SUBDIRS)"; then :; else \ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ @@ -169,6 +173,6 @@ gitignore-recurse: fi; maintainer-clean-local: gitignore-clean gitignore-clean: - rm -f .gitignore + rm -f $(srcdir)/.gitignore .PHONY: gitignore-clean gitignore-recurse |