diff options
author | pfaedit <pfaedit> | 2006-03-11 00:43:12 +0000 |
---|---|---|
committer | pfaedit <pfaedit> | 2006-03-11 00:43:12 +0000 |
commit | 5de2e626bdff382dc0b8010f4d2975d04bbd81a2 (patch) | |
tree | c6232048a4fd898ed497fe8612eab226ebca3b03 /Makefile.dynamic.in | |
parent | 04cc379f9134eef6d53919f1cba5ab4d9f8bca76 (diff) |
Patch from Werner to make doc installs work if srcdir!=builddir
Diffstat (limited to 'Makefile.dynamic.in')
-rw-r--r-- | Makefile.dynamic.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.dynamic.in b/Makefile.dynamic.in index 9583971d..e32ad7fe 100644 --- a/Makefile.dynamic.in +++ b/Makefile.dynamic.in @@ -60,10 +60,10 @@ install_docs: mkdir -p $(docdir) mkdir -p $(docdir)/flags $(docdir)/ja #explicit use of sh to make sure we don't invoke csh with different "if" syntax - -sh -c "if test -d htdocs/ja >/dev/null ; then mkdir -p $(docdir)/ja ; fi" - -cp htdocs/*.{html,png,gif,pdf} $(docdir) - -cp htdocs/flags/* $(docdir)/flags - -cp htdocs/ja/* $(docdir)/ja + -sh -c "if test -d $(srcdir)/htdocs/ja >/dev/null ; then mkdir -p $(docdir)/ja ; fi" + -cp $(srcdir)/htdocs/*.{html,png,gif,pdf} $(docdir) + -cp $(srcdir)/htdocs/flags/* $(docdir)/flags + -cp $(srcdir)/htdocs/ja/* $(docdir)/ja install_po: ( cd po ; make install ) @@ -85,7 +85,7 @@ install: $(sharedir) all install_libs install_po cp $(srcdir)/fontforge/fontforge.1 $(mandir)/man1 -cp $(srcdir)/fontforge/sfddiff.1 $(mandir)/man1 #explicit use of sh to make sure we don't invoke csh with different "if" syntax - sh -c "if test -d htdocs >/dev/null ; then $(MAKE) install_docs ; fi" + sh -c "if test -d $(srcdir)/htdocs >/dev/null ; then $(MAKE) install_docs ; fi" sh < systemspecific uninstall: |