diff options
author | Dan Mueth <dan@eazel.com> | 2001-02-26 09:56:24 +0000 |
---|---|---|
committer | Dan Mueth <dmueth@src.gnome.org> | 2001-02-26 09:56:24 +0000 |
commit | c962e9a817b261bf12c9ab36a7e6d9ccf81c9e60 (patch) | |
tree | 50ff6d190a68ad5b7350bf7b5d3598c03f8003a7 /applet-docs.make | |
parent | 8a51e28010cf33aa4de67c091273fe135ed49bc5 (diff) |
Doing some initial setup of OMF installation. Added a handful of OMF
2001-02-26 Dan Mueth <dan@eazel.com>
Doing some initial setup of OMF installation. Added a handful
of OMF files. Note: Make sure not to set $prefix to have
RPM_BUILD_ROOT in it or you will break this stuff. Set
DESTDIR=RPM_BUILD_ROOT if you like, but $prefix should refer
to the path on the user's machine. I'm just griping about this
because the Ximian spec file (which I borrowed for my testing;)
did this wrong.
Adding directory where omf files are collected before installation:
* Makefile.am: added omf-install in SUBDIRS
* configure.in: Added omf-install
* omf-install/Makefile.am:
The real build stuff went in here for OMF files:
* applet-docs.make: Updated
Actual OMF files and their Makefiles:
* another_clock/docs/C/Makefile.am:
* another_clock/docs/C/anotherclock_applet-C.omf:
* another_clock/docs/it/Makefile.am:
* another_clock/docs/it/anotherclock_applet-it.omf:
* another_clock/docs/ru/Makefile.am:
* another_clock/docs/ru/anotherclock_applet-ru.omf:
* another_clock/docs/uk/Makefile.am:
* another_clock/docs/uk/anotherclock_applet-uk.omf:
* asclock/docs/C/Makefile.am:
* asclock/docs/C/asclock_applet-C.omf:
* asclock/docs/it/Makefile.am:
* asclock/docs/it/asclock_applet-it.omf:
* asclock/docs/ru/Makefile.am:
* asclock/docs/ru/asclock_applet-ru.omf:
* asclock/docs/uk/Makefile.am:
* asclock/docs/uk/asclock_applet-uk.omf:
* battery/docs/C/Makefile.am:
* battery/docs/C/battery_applet-C.omf:
* battery/docs/it/Makefile.am:
* battery/docs/it/battery_applet-it.omf:
* cdplayer/docs/C/Makefile.am:
* cdplayer/docs/C/cdplayer_applet-C.omf:
* cdplayer/docs/it/Makefile.am:
* cdplayer/docs/it/cdplayer_applet-it.omf:
* mixer/docs/C/Makefile.am:
* mixer/docs/C/mixer_applet-C.omf:
Diffstat (limited to 'applet-docs.make')
-rw-r--r-- | applet-docs.make | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/applet-docs.make b/applet-docs.make index 86d6a760f..6d700ed82 100644 --- a/applet-docs.make +++ b/applet-docs.make @@ -9,21 +9,28 @@ # figs = modemlights-advpref.png modemlights-prefs.png modemlights.png # include $(top_srcdir)/applet-docs.make -docdir = $(datadir)/gnome/help/$(applet)_applet/$(lang) -helpdir = $(docdir) -doc_DATA = \ +helpdir = $(datadir)/gnome/help/$(applet)_applet/$(lang) +help_DATA = \ index.html \ topic.dat \ $(figs) +# Scrollkeeper related stuff +omf_dir=$(top_srcdir)/omf-install + sgml_files = \ $(sgml_ents) \ $(applet)_applet.sgml # automake does not know anything about .sgml files yet -> EXTRA_DIST -EXTRA_DIST = $(sgml_files) $(doc_DATA) +EXTRA_DIST = $(sgml_files) $(help_DATA) $(omffile) + +all: index.html omf -all: index.html +omf: $(omffile) + -for file in $(omffile); do \ + scrollkeeper-preinstall $(helpdir)/$(app).sgml $$file $(omf_dir)/$$file; \ + done index.html: $(applet)_applet/index.html -cp $(applet)_applet/index.html . @@ -47,26 +54,26 @@ applet-dist-hook: index.html -cp $(srcdir)/$(applet)_applet/stylesheet-images/*.gif \ $(distdir)/$(applet)_applet/stylesheet-images -install-data-am: index.html - -$(mkinstalldirs) $(DESTDIR)$(docdir)/stylesheet-images - -cp $(srcdir)/topic.dat $(DESTDIR)$(docdir) - -cp $(srcdir)/$(sgml_files) $(DESTDIR)$(docdir) +install-data-am: index.html omf + -$(mkinstalldirs) $(DESTDIR)$(helpdir)/stylesheet-images + -cp $(srcdir)/topic.dat $(DESTDIR)$(helpdir) + -cp $(srcdir)/$(sgml_files) $(DESTDIR)$(helpdir) -for file in \ $(applet)_applet/*.html \ $(applet)_applet/*.css \ $(srcdir)/*.png; do\ basefile=`echo $$file | sed -e 's,^.*/,,'`; \ - $(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/$$basefile; \ + $(INSTALL_DATA) $$file $(DESTDIR)$(helpdir)/$$basefile; \ done -for file in \ $(applet)_applet/stylesheet-images/*.png; do \ basefile=`echo $$file | sed -e 's,^.*/,,'`; \ - $(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/stylesheet-images/$$basefile; \ + $(INSTALL_DATA) $$file $(DESTDIR)$(helpdir)/stylesheet-images/$$basefile; \ done -for file in \ $(applet)_applet/stylesheet-images/*.gif; do \ basefile=`echo $$file | sed -e 's,^.*/,,'`; \ - $(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/stylesheet-images/$$basefile; \ + $(INSTALL_DATA) $$file $(DESTDIR)$(helpdir)/stylesheet-images/$$basefile; \ done $(applet)_applet.ps: $(srcdir)/$(applet)_applet.sgml $(srcdir)/$(applet).sgml |