[tracker/tracker-0.16] tracker-extract: Rename *.rules.in to *.rules
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.16] tracker-extract: Rename *.rules.in to *.rules
- Date: Fri, 1 Nov 2013 15:30:56 +0000 (UTC)
commit 5bf75b8c8ef3c7e54c003d1e8a2a94f16ecb1b72
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Oct 11 16:57:23 2013 +0200
tracker-extract: Rename *.rules.in to *.rules
https://bugzilla.gnome.org/show_bug.cgi?id=709703
.../{10-abw.rule.in => 10-abw.rule} | 0
.../{10-dvi.rule.in => 10-dvi.rule} | 0
.../{10-epub.rule.in => 10-epub.rule} | 0
.../{10-flac.rule.in => 10-flac.rule} | 0
.../{10-gif.rule.in => 10-gif.rule} | 0
.../{10-html.rule.in => 10-html.rule} | 0
.../{10-ico.rule.in => 10-ico.rule} | 0
.../{10-jpeg.rule.in => 10-jpeg.rule} | 0
.../{10-mp3.rule.in => 10-mp3.rule} | 0
.../{10-msoffice.rule.in => 10-msoffice.rule} | 0
.../{10-oasis.rule.in => 10-oasis.rule} | 0
.../{10-pdf.rule.in => 10-pdf.rule} | 0
.../{10-png.rule.in => 10-png.rule} | 0
src/tracker-extract/{10-ps.rule.in => 10-ps.rule} | 0
.../{10-svg.rule.in => 10-svg.rule} | 0
.../{10-tiff.rule.in => 10-tiff.rule} | 0
.../{10-vorbis.rule.in => 10-vorbis.rule} | 0
.../{10-xmp.rule.in => 10-xmp.rule} | 0
.../{10-xps.rule.in => 10-xps.rule} | 0
.../{11-iso.rule.in => 11-iso.rule} | 0
...1-msoffice-xml.rule.in => 11-msoffice-xml.rule} | 0
...eamer-guess.rule.in => 15-gstreamer-guess.rule} | 0
.../{15-playlist.rule.in => 15-playlist.rule} | 0
...r-generic.rule.in => 90-gstreamer-generic.rule} | 0
...0-text-generic.rule.in => 90-text-generic.rule} | 0
...dlna.rule.in => 91-gstreamer-generic-dlna.rule} | 0
...2-xine-generic.rule.in => 92-xine-generic.rule} | 0
...yer-generic.rule.in => 93-mplayer-generic.rule} | 0
...totem-generic.rule.in => 93-totem-generic.rule} | 0
src/tracker-extract/Makefile.am | 68 ++++++++++----------
30 files changed, 33 insertions(+), 35 deletions(-)
---
diff --git a/src/tracker-extract/10-abw.rule.in b/src/tracker-extract/10-abw.rule
similarity index 100%
rename from src/tracker-extract/10-abw.rule.in
rename to src/tracker-extract/10-abw.rule
diff --git a/src/tracker-extract/10-dvi.rule.in b/src/tracker-extract/10-dvi.rule
similarity index 100%
rename from src/tracker-extract/10-dvi.rule.in
rename to src/tracker-extract/10-dvi.rule
diff --git a/src/tracker-extract/10-epub.rule.in b/src/tracker-extract/10-epub.rule
similarity index 100%
rename from src/tracker-extract/10-epub.rule.in
rename to src/tracker-extract/10-epub.rule
diff --git a/src/tracker-extract/10-flac.rule.in b/src/tracker-extract/10-flac.rule
similarity index 100%
rename from src/tracker-extract/10-flac.rule.in
rename to src/tracker-extract/10-flac.rule
diff --git a/src/tracker-extract/10-gif.rule.in b/src/tracker-extract/10-gif.rule
similarity index 100%
rename from src/tracker-extract/10-gif.rule.in
rename to src/tracker-extract/10-gif.rule
diff --git a/src/tracker-extract/10-html.rule.in b/src/tracker-extract/10-html.rule
similarity index 100%
rename from src/tracker-extract/10-html.rule.in
rename to src/tracker-extract/10-html.rule
diff --git a/src/tracker-extract/10-ico.rule.in b/src/tracker-extract/10-ico.rule
similarity index 100%
rename from src/tracker-extract/10-ico.rule.in
rename to src/tracker-extract/10-ico.rule
diff --git a/src/tracker-extract/10-jpeg.rule.in b/src/tracker-extract/10-jpeg.rule
similarity index 100%
rename from src/tracker-extract/10-jpeg.rule.in
rename to src/tracker-extract/10-jpeg.rule
diff --git a/src/tracker-extract/10-mp3.rule.in b/src/tracker-extract/10-mp3.rule
similarity index 100%
rename from src/tracker-extract/10-mp3.rule.in
rename to src/tracker-extract/10-mp3.rule
diff --git a/src/tracker-extract/10-msoffice.rule.in b/src/tracker-extract/10-msoffice.rule
similarity index 100%
rename from src/tracker-extract/10-msoffice.rule.in
rename to src/tracker-extract/10-msoffice.rule
diff --git a/src/tracker-extract/10-oasis.rule.in b/src/tracker-extract/10-oasis.rule
similarity index 100%
rename from src/tracker-extract/10-oasis.rule.in
rename to src/tracker-extract/10-oasis.rule
diff --git a/src/tracker-extract/10-pdf.rule.in b/src/tracker-extract/10-pdf.rule
similarity index 100%
rename from src/tracker-extract/10-pdf.rule.in
rename to src/tracker-extract/10-pdf.rule
diff --git a/src/tracker-extract/10-png.rule.in b/src/tracker-extract/10-png.rule
similarity index 100%
rename from src/tracker-extract/10-png.rule.in
rename to src/tracker-extract/10-png.rule
diff --git a/src/tracker-extract/10-ps.rule.in b/src/tracker-extract/10-ps.rule
similarity index 100%
rename from src/tracker-extract/10-ps.rule.in
rename to src/tracker-extract/10-ps.rule
diff --git a/src/tracker-extract/10-svg.rule.in b/src/tracker-extract/10-svg.rule
similarity index 100%
rename from src/tracker-extract/10-svg.rule.in
rename to src/tracker-extract/10-svg.rule
diff --git a/src/tracker-extract/10-tiff.rule.in b/src/tracker-extract/10-tiff.rule
similarity index 100%
rename from src/tracker-extract/10-tiff.rule.in
rename to src/tracker-extract/10-tiff.rule
diff --git a/src/tracker-extract/10-vorbis.rule.in b/src/tracker-extract/10-vorbis.rule
similarity index 100%
rename from src/tracker-extract/10-vorbis.rule.in
rename to src/tracker-extract/10-vorbis.rule
diff --git a/src/tracker-extract/10-xmp.rule.in b/src/tracker-extract/10-xmp.rule
similarity index 100%
rename from src/tracker-extract/10-xmp.rule.in
rename to src/tracker-extract/10-xmp.rule
diff --git a/src/tracker-extract/10-xps.rule.in b/src/tracker-extract/10-xps.rule
similarity index 100%
rename from src/tracker-extract/10-xps.rule.in
rename to src/tracker-extract/10-xps.rule
diff --git a/src/tracker-extract/11-iso.rule.in b/src/tracker-extract/11-iso.rule
similarity index 100%
rename from src/tracker-extract/11-iso.rule.in
rename to src/tracker-extract/11-iso.rule
diff --git a/src/tracker-extract/11-msoffice-xml.rule.in b/src/tracker-extract/11-msoffice-xml.rule
similarity index 100%
rename from src/tracker-extract/11-msoffice-xml.rule.in
rename to src/tracker-extract/11-msoffice-xml.rule
diff --git a/src/tracker-extract/15-gstreamer-guess.rule.in b/src/tracker-extract/15-gstreamer-guess.rule
similarity index 100%
rename from src/tracker-extract/15-gstreamer-guess.rule.in
rename to src/tracker-extract/15-gstreamer-guess.rule
diff --git a/src/tracker-extract/15-playlist.rule.in b/src/tracker-extract/15-playlist.rule
similarity index 100%
rename from src/tracker-extract/15-playlist.rule.in
rename to src/tracker-extract/15-playlist.rule
diff --git a/src/tracker-extract/90-gstreamer-generic.rule.in b/src/tracker-extract/90-gstreamer-generic.rule
similarity index 100%
rename from src/tracker-extract/90-gstreamer-generic.rule.in
rename to src/tracker-extract/90-gstreamer-generic.rule
diff --git a/src/tracker-extract/90-text-generic.rule.in b/src/tracker-extract/90-text-generic.rule
similarity index 100%
rename from src/tracker-extract/90-text-generic.rule.in
rename to src/tracker-extract/90-text-generic.rule
diff --git a/src/tracker-extract/91-gstreamer-generic-dlna.rule.in
b/src/tracker-extract/91-gstreamer-generic-dlna.rule
similarity index 100%
rename from src/tracker-extract/91-gstreamer-generic-dlna.rule.in
rename to src/tracker-extract/91-gstreamer-generic-dlna.rule
diff --git a/src/tracker-extract/92-xine-generic.rule.in b/src/tracker-extract/92-xine-generic.rule
similarity index 100%
rename from src/tracker-extract/92-xine-generic.rule.in
rename to src/tracker-extract/92-xine-generic.rule
diff --git a/src/tracker-extract/93-mplayer-generic.rule.in b/src/tracker-extract/93-mplayer-generic.rule
similarity index 100%
rename from src/tracker-extract/93-mplayer-generic.rule.in
rename to src/tracker-extract/93-mplayer-generic.rule
diff --git a/src/tracker-extract/93-totem-generic.rule.in b/src/tracker-extract/93-totem-generic.rule
similarity index 100%
rename from src/tracker-extract/93-totem-generic.rule.in
rename to src/tracker-extract/93-totem-generic.rule
diff --git a/src/tracker-extract/Makefile.am b/src/tracker-extract/Makefile.am
index a53a9b1..ea0557d 100644
--- a/src/tracker-extract/Makefile.am
+++ b/src/tracker-extract/Makefile.am
@@ -14,40 +14,38 @@ AM_CPPFLAGS = \
# NOTE: The rules are here and not in another sub-directory because we
# only install rules for extractors we build. If we decouple this, it
# duplicates work and requires more maintenance to keep modules up to
-# date.
-rules_in_files = \
- 10-abw.rule.in \
- 10-dvi.rule.in \
- 10-epub.rule.in \
- 10-flac.rule.in \
- 10-gif.rule.in \
- 10-html.rule.in \
- 10-ico.rule.in \
- 10-jpeg.rule.in \
- 10-mp3.rule.in \
- 10-msoffice.rule.in \
- 10-oasis.rule.in \
- 10-pdf.rule.in \
- 10-png.rule.in \
- 10-ps.rule.in \
- 10-svg.rule.in \
- 10-tiff.rule.in \
- 10-vorbis.rule.in \
- 10-xmp.rule.in \
- 10-xps.rule.in \
- 11-iso.rule.in \
- 11-msoffice-xml.rule.in \
- 15-gstreamer-guess.rule.in \
- 15-playlist.rule.in \
- 90-gstreamer-generic.rule.in \
- 90-text-generic.rule.in \
- 91-gstreamer-generic-dlna.rule.in \
- 92-xine-generic.rule.in \
- 93-mplayer-generic.rule.in \
- 93-totem-generic.rule.in
-
-%.rule: %.rule.in
- @sed -e "s|@extractmodulesdir[ ]|${extractmodulesdir}|" $< > $@
+# date. If you are adding a new rule then add it to both rules_files
+# and then separately with the module below.
+rules_files = \
+ 10-abw.rule \
+ 10-dvi.rule \
+ 10-epub.rule \
+ 10-flac.rule \
+ 10-gif.rule \
+ 10-html.rule \
+ 10-ico.rule \
+ 10-jpeg.rule \
+ 10-mp3.rule \
+ 10-msoffice.rule \
+ 10-oasis.rule \
+ 10-pdf.rule \
+ 10-png.rule \
+ 10-ps.rule \
+ 10-svg.rule \
+ 10-tiff.rule \
+ 10-vorbis.rule \
+ 10-xmp.rule \
+ 10-xps.rule \
+ 11-iso.rule \
+ 11-msoffice-xml.rule \
+ 15-gstreamer-guess.rule \
+ 15-playlist.rule \
+ 90-gstreamer-generic.rule \
+ 90-text-generic.rule \
+ 91-gstreamer-generic-dlna.rule \
+ 92-xine-generic.rule \
+ 93-mplayer-generic.rule \
+ 93-totem-generic.rule
# NOTE:
# We don't always link with libtracker-common, we only link
@@ -560,4 +558,4 @@ CLEANFILES = $(BUILT_SOURCES) $(rules_DATA)
EXTRA_DIST = \
tracker-marshal.list \
- $(rules_in_files)
+ $(rules_files)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]