Moved moo.xml away from language-specs to avoid running language-specs/check.sh on it

This commit is contained in:
Yevgen Muntyan 2008-01-20 12:02:25 -06:00
parent 8851fd6f63
commit ff8d8b5b4c
5 changed files with 27 additions and 28 deletions

View File

@ -191,6 +191,31 @@ nodist_mooedit_sources += mooedit-ui.h medit-ui.h
BUILT_SOURCES += mooedit-ui.h medit-ui.h
CLEANFILES += mooedit-ui.h medit-ui.h
packagesdir = $(mimedir)/packages
packages_DATA = moo.xml
update_mime = update-mime-database $(DESTDIR)${mimedir}
@MOO_INTLTOOL_XML_RULE@
EXTRA_DIST += moo.xml.in
CLEANFILES += moo.xml
if !MOO_OS_MINGW
install-data-hook:
if echo "Updating mime database... " && $(update_mime); then \
echo "Done."; \
else \
echo "*** "; \
echo "*** Mime database not updated. After install, run this:"; \
echo $(update_mime); \
echo "*** "; \
fi
uninstall-hook:
echo "Updating mime database" && $(update_mime) && echo "Done."
else MOO_OS_MINGW
install-data-hook:
cp /usr/share/mime/packages/freedesktop.org.xml $(DESTDIR)${mimedir}/packages/ && \
$(update_mime)
endif
EXTRA_DIST += \
$(mooedit_tools_DATA) \
$(mooedit_lua_DATA) \

View File

@ -81,32 +81,6 @@ languagespecs_DATA = \
$(langs1) \
$(langs2)
packagesdir = $(mimedir)/packages
packages_DATA = moo.xml
update_mime = update-mime-database $(DESTDIR)${mimedir}
@MOO_INTLTOOL_XML_RULE@
if !MOO_OS_MINGW
install-data-hook:
if echo "Updating mime database... " && $(update_mime); then \
echo "Done."; \
else \
echo "*** "; \
echo "*** Mime database not updated. After install, run this:"; \
echo $(update_mime); \
echo "*** "; \
fi
uninstall-hook:
echo "Updating mime database" && $(update_mime) && echo "Done."
else MOO_OS_MINGW
install-data-hook:
cp /usr/share/mime/packages/freedesktop.org.xml $(DESTDIR)${mimedir}/packages/ && \
$(update_mime)
endif
EXTRA_DIST = \
$(languagespecs_DATA) \
moo.xml.in \
styles.rng
CLEANFILES = \
moo.xml

View File

@ -92,7 +92,7 @@ moo/mooutils/newgtk/glib/gregex.c
moo/mooutils/newgtk/gmappedfile.c
moo/mooutils/newgtk/gtkcolorbutton.c
moo/mooutils/newgtk/gtkfontbutton.c
moo/mooedit/language-specs/moo.xml.in
moo/mooedit/moo.xml.in
moo/mooedit/gtksourceview/gtksourcecontextengine-mangled.c
moo/mooedit/gtksourceview/gtksourcelanguage-parser-2-mangled.c
moo/mooedit/gtksourceview/gtksourcelanguagemanager-mangled.c

View File

@ -36,7 +36,7 @@ moo/mooedit/mootextfind.c
moo/mooedit/mooeditaction-factory.c
moo/mooedit/mooeditprefspage.c
moo/mooedit/language-specs/moo.xml.in
moo/mooedit/moo.xml.in
moo/mooedit/plugins/moofind.c
moo/mooedit/plugins/moofind.glade