]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/Makefile.am
jss.layout: changes as requested by the user in bug#9516
[lyx.git] / lib / doc / Makefile.am
index 38c545b1711f75ca1fbac9e41e6122110ae03265..e9b9f64829d8c95b8c371e4f0de20c86e77870a7 100644 (file)
@@ -322,8 +322,8 @@ doc_files = \
 install-data-hook:
        for i in $(doc_files); \
        do \
-               if $(EGREP) -q "LYX_DIR_VER|LYX_USERDIR_VER|^\\origin " "$(DESTDIR)$(docdir)/$$i"; then \
-                       origin=`dirname "$(docdir)/$$i"`/; \
+               if $(EGREP) -q "LYX_DIR_VER|LYX_USERDIR_VER|^\\\\origin " "$(DESTDIR)$(docdir)/$$i"; then \
+                       origin=`dirname "/systemlyxdir/doc/$$i"`/; \
                        sed -e "s/LYX_DIR_VER/$(LYX_DIR_VER)/g" \
                            -e "s/LYX_USERDIR_VER/$(LYX_USERDIR_VER)/g" \
                            -e "s|^\\\\origin .*|\\\\origin $$origin|" \