diff options
author | Stefano Karapetsas <[email protected]> | 2014-01-04 09:59:30 -0800 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-01-04 09:59:30 -0800 |
commit | 56a56f089dac584b3a7b3b524c05eb5418ab4ab1 (patch) | |
tree | 816b3e60b51dc077dce315b45186cea16817f160 /doc-build/omf.make | |
parent | 185a8813fec72f8c541192f59e93caca50e4ce68 (diff) | |
parent | ee67cdc2cd7c65318d21faed1056160f8355990e (diff) | |
download | mate-common-56a56f089dac584b3a7b3b524c05eb5418ab4ab1.tar.bz2 mate-common-56a56f089dac584b3a7b3b524c05eb5418ab4ab1.tar.xz |
Merge pull request #11 from infirit/gnomefixes
Many fixes from gnome-common that are useful for MATE
Diffstat (limited to 'doc-build/omf.make')
-rw-r--r-- | doc-build/omf.make | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc-build/omf.make b/doc-build/omf.make index cb7acba..35dec24 100644 --- a/doc-build/omf.make +++ b/doc-build/omf.make @@ -36,19 +36,23 @@ omf: omf_timestamp omf_timestamp: $(omffile) -for file in $(omffile); do \ - scrollkeeper-preinstall $(docdir)/$(docname).xml $(srcdir)/$$file $$file.out; \ + absfile=$(srcdir)/$$file; \ + test -r $$file && absfile=$$file; \ + scrollkeeper-preinstall $(docdir)/$(docname).xml $$absfile $$file.out; \ done; \ touch omf_timestamp install-data-hook-omf: $(mkinstalldirs) $(DESTDIR)$(omf_dest_dir) for file in $(omffile); do \ - $(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \ + absfile=$(srcdir)/$$file.out; \ + test -r $$file.out && absfile=$$file.out; \ + $(INSTALL_DATA) $$absfile $(DESTDIR)$(omf_dest_dir)/$$file; \ done -scrollkeeper-update -p $(DESTDIR)$(scrollkeeper_localstate_dir) -o $(DESTDIR)$(omf_dest_dir) uninstall-local-omf: - -for file in $(srcdir)/*.omf; do \ + -for file in $(omffile); do \ basefile=`basename $$file`; \ rm -f $(DESTDIR)$(omf_dest_dir)/$$basefile; \ done |