[json-glib] build: Use maintainer-clean for removing ignore files
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [json-glib] build: Use maintainer-clean for removing ignore files
- Date: Sun, 15 Aug 2010 17:55:49 +0000 (UTC)
commit be48afe5801a541996bb64437c278088e70258f6
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Sun Aug 15 18:43:49 2010 +0100
build: Use maintainer-clean for removing ignore files
build/autotools/Makefile.am.gitignore | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/build/autotools/Makefile.am.gitignore b/build/autotools/Makefile.am.gitignore
index fad1198..26fe561 100644
--- a/build/autotools/Makefile.am.gitignore
+++ b/build/autotools/Makefile.am.gitignore
@@ -7,13 +7,18 @@ $(srcdir)/.gitignore: Makefile.am
$(QUIET_GEN)( \
echo "*.o" ; \
echo ".gitignore" ; \
- ) > .gitignore ; \
+ ) > $(srcdir)/.gitignore ; \
for p in $(noinst_PROGRAMS); do \
- echo "/$$p" >> .gitignore ; \
+ echo "/$$p" >> $(srcdir)/.gitignore ; \
done
gitignore: $(srcdir)/.gitignore
-.PHONY: gitignore
+gitignore-clean:
+ $(QUIET_RM)rm -f $(srcdir)/.gitignore
+
+.PHONY: gitignore gitignore-clean
all: gitignore
+
+maintainer-clean: gitignore-clean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]